changeset 27749:fe1ef9daa92e

cosmetics: Merge some preprocessor checks.
author diego
date Thu, 16 Oct 2008 18:14:35 +0000
parents 6b0875706a22
children 2c11b155ff11
files get_path.c
diffstat 1 files changed, 3 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/get_path.c	Thu Oct 16 18:13:26 2008 +0000
+++ b/get_path.c	Thu Oct 16 18:14:35 2008 +0000
@@ -18,18 +18,12 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
-#endif
-
-#ifdef __MINGW32__
+#elif __MINGW32__
 #include <windows.h>
-#endif
-
-#ifdef __CYGWIN__
+#elif __CYGWIN__
 #include <windows.h>
 #include <sys/cygwin.h>
-#endif
-
-#ifdef __OS2__
+#elif __OS2__
 #define INCL_DOS
 #include <os2.h>
 #endif