os.h: change elif _WIN32 to elif defined(_WIN32)
authorsezero <sezero@users.sourceforge.net>
Sun, 23 Jul 2017 08:27:00 +0000 (11:27 +0300)
committerRalph Giles <giles@thaumas.net>
Mon, 24 Jul 2017 23:36:12 +0000 (16:36 -0700)
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>
lib/os.h

index 50d808a..416a401 100644 (file)
--- 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