From: sezero Date: Sun, 23 Jul 2017 08:27:00 +0000 (+0300) Subject: os.h: change elif _WIN32 to elif defined(_WIN32) X-Git-Tag: v1.3.6~10 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Flibvorbis.git;a=commitdiff_plain;h=e3230ddc86f7164db1e310b7e7275e90a3556e3b 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 --- diff --git a/lib/os.h b/lib/os.h index 50d808a..416a401 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