summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsezero <sezero@users.sourceforge.net>2017-07-23 11:27:00 +0300
committerRalph Giles <giles@thaumas.net>2017-07-24 16:36:12 -0700
commite3230ddc86f7164db1e310b7e7275e90a3556e3b (patch)
treead884279a1ca7f497ec3088aeb0f3fcb824f2474
parented677ec711e9a95ae06365d076325232a3bc19a6 (diff)
downloadlibvorbis-git-e3230ddc86f7164db1e310b7e7275e90a3556e3b.tar.gz
os.h: change elif _WIN32 to elif defined(_WIN32)
This symbol is only defined (with the value 1) when building for the Windows target, so we need to ifdef, not if. Signed-off-by: Ralph Giles <giles@thaumas.net>
-rw-r--r--lib/os.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/os.h b/lib/os.h
index 50d808a3..416a401d 100644
--- a/lib/os.h
+++ b/lib/os.h
@@ -30,7 +30,7 @@
# ifdef __GNUC__
# define STIN static __inline__
-# elif _WIN32
+# elif defined(_WIN32)
# define STIN static __inline
# else
# define STIN static