diff options
author | Rafaël Carré <funman@videolan.org> | 2012-07-26 22:24:25 +0400 |
---|---|---|
committer | Gregory Maxwell <greg@xiph.org> | 2012-07-26 22:26:43 +0400 |
commit | 7909d8af20883308bc9cb34ec5a292f91139d2b7 (patch) | |
tree | d63622ad7220fe995f0eacc17cd29fe95bc9707b /include | |
parent | 66d429ab5367b0111b936473e43a2bf9a3232d09 (diff) |
Guard _MSC_VER tests, remove FLOAT2INT16 when DISABLE_FLOAT_API.
Diffstat (limited to 'include')
-rw-r--r-- | include/opus_defines.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/opus_defines.h b/include/opus_defines.h index a16bd648..b2a559d4 100644 --- a/include/opus_defines.h +++ b/include/opus_defines.h @@ -87,7 +87,7 @@ extern "C" { #if (!defined(__STDC_VERSION__) || (__STDC_VERSION__ < 199901L) ) # if OPUS_GNUC_PREREQ(3,0) # define OPUS_RESTRICT __restrict__ -# elif (_MSC_VER >= 1400) +# elif (defined(_MSC_VER) && _MSC_VER >= 1400) # define OPUS_RESTRICT __restrict # else # define OPUS_RESTRICT |