Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafaël Carré <funman@videolan.org>2012-07-26 22:24:25 +0400
committerGregory Maxwell <greg@xiph.org>2012-07-26 22:26:43 +0400
commit7909d8af20883308bc9cb34ec5a292f91139d2b7 (patch)
treed63622ad7220fe995f0eacc17cd29fe95bc9707b /include
parent66d429ab5367b0111b936473e43a2bf9a3232d09 (diff)
Guard _MSC_VER tests, remove FLOAT2INT16 when DISABLE_FLOAT_API.
Diffstat (limited to 'include')
-rw-r--r--include/opus_defines.h2
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