From e3230ddc86f7164db1e310b7e7275e90a3556e3b Mon Sep 17 00:00:00 2001 From: sezero Date: Sun, 23 Jul 2017 11:27:00 +0300 Subject: 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 --- lib/os.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1