shithub: opus

Download patch

ref: c4c897ea48a39eaedc693225f852facded45d181
parent: 288bd59f48930c291716f8ec833c3489a5429e5f
author: flim <[email protected]>
date: Tue Feb 9 10:59:57 EST 2016

Expand SILK macro to avoid "Wexpansion-to-defined" violation

Signed-off-by: Jean-Marc Valin <[email protected]>

--- a/silk/macros.h
+++ b/silk/macros.h
@@ -44,7 +44,11 @@
 #endif
 
 /* Set this if opus_int64 is a native type of the CPU. */
-#define OPUS_FAST_INT64 (defined(__x86_64__) || defined(__LP64__) || defined(_WIN64))
+#if defined(__x86_64__) || defined(__LP64__) || defined(_WIN64)
+#define OPUS_FAST_INT64 1
+#else
+#define OPUS_FAST_INT64 0
+#endif
 
 /* This is an OPUS_INLINE header file for general platform. */