From c4c897ea48a39eaedc693225f852facded45d181 Mon Sep 17 00:00:00 2001 From: flim Date: Tue, 9 Feb 2016 15:59:57 +0100 Subject: [PATCH] Expand SILK macro to avoid "Wexpansion-to-defined" violation Signed-off-by: Jean-Marc Valin --- silk/macros.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/silk/macros.h b/silk/macros.h index bc303034..80250792 100644 --- a/silk/macros.h +++ b/silk/macros.h @@ -44,7 +44,11 @@ POSSIBILITY OF SUCH DAMAGE. #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. */