summaryrefslogtreecommitdiffstats
path: root/get_path.c
diff options
context:
space:
mode:
Diffstat (limited to 'get_path.c')
-rw-r--r--get_path.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/get_path.c b/get_path.c
index 1cb7bd8207..f5cf41354e 100644
--- a/get_path.c
+++ b/get_path.c
@@ -18,12 +18,12 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
-#elif __MINGW32__
+#elif defined(__MINGW32__)
#include <windows.h>
-#elif __CYGWIN__
+#elif defined(__CYGWIN__)
#include <windows.h>
#include <sys/cygwin.h>
-#elif __OS2__
+#elif defined(__OS2__)
#define INCL_DOS
#include <os2.h>
#endif