diff options
author | flim <flim@google.com> | 2016-02-09 17:59:57 +0300 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2016-02-09 18:17:48 +0300 |
commit | c4c897ea48a39eaedc693225f852facded45d181 (patch) | |
tree | c337ec6469156651b0837ed223dfb22bb060e81e | |
parent | 288bd59f48930c291716f8ec833c3489a5429e5f (diff) |
Expand SILK macro to avoid "Wexpansion-to-defined" violation
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
-rw-r--r-- | silk/macros.h | 6 |
1 files changed, 5 insertions, 1 deletions
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. */ |