shithub: opus

Download patch

ref: 293b9f1977bcb7992476157d06b74fd01d1abfcb
parent: 35780760035dadbfe7b19f6fdf7a5bdacf0b8bb9
author: Jean-Marc Valin <[email protected]>
date: Mon Sep 13 10:53:29 EDT 2010

Fixing tests on machines with no __builtin_clz()

--- a/tests/mathops-test.c
+++ b/tests/mathops-test.c
@@ -3,6 +3,7 @@
 #endif
 
 #include "mathops.c"
+#include "entcode.c"
 #include <stdio.h>
 #include <math.h>
 
--- a/tests/mdct-test.c
+++ b/tests/mdct-test.c
@@ -16,6 +16,7 @@
 #include "../libcelt/kiss_fft.c"
 #include "../libcelt/mdct.c"
 #include "../libcelt/mathops.c"
+#include "../libcelt/entcode.c"
 
 #ifndef M_PI
 #define M_PI 3.141592653