shithub: opus

Download patch

ref: b46991c34f3587a06957a627d1e3095bf711851e
parent: a855a1f0ff5e96a22c5ccce4276891e749cb3955
author: Ralph Giles <[email protected]>
date: Wed Nov 30 09:11:23 EST 2011

Restore the windows-side #ifdef check in silk/MacroDebug.h.

We still override the '#if 0' with FIXED_DEBUG, but this
leaves whatever Koen intended here more intact. Suggestion
from Greg Maxwell.

--- a/silk/MacroDebug.h
+++ b/silk/MacroDebug.h
@@ -31,7 +31,7 @@
 /* Redefine macro functions with extensive assertion in DEBUG mode.
    As functions can't be undefined, this file can't work with SigProcFIX_MacroCount.h */
 
-#if defined (FIXED_DEBUG) && !defined (silk_MACRO_COUNT)
+#if ( defined (FIXED_DEBUG) || ( 0 && defined (_DEBUG) ) ) && !defined (silk_MACRO_COUNT)
 
 #undef silk_ADD16
 static inline opus_int16 silk_ADD16(opus_int16 a, opus_int16 b){