Update operating system detection for condition compilation.
[wdq2wav.git] / wdq2wav.h
index 6e740f4e772d7a8b5f7db22b0865764a0bf27b7b..a5e5ad2d2c33d00e6751dc90bc635666737aa8dd 100644 (file)
--- a/wdq2wav.h
+++ b/wdq2wav.h
 #include <math.h>
 #include <sys/types.h>
 #include <sys/stat.h>
-#ifdef WIN32
+#ifdef _WIN32
 #include <io.h>
 #include <getopt.h>
 #else
 #include <unistd.h>
 #endif
 
-#ifdef LINUX
+#ifdef __linux__
 #include <endian.h>
 #if __BYTE_ORDER == __BIG_ENDIAN
 #define WORDS_BIG_ENDIAN 1