summaryrefslogtreecommitdiff
path: root/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'stdafx.h')
-rw-r--r--stdafx.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/stdafx.h b/stdafx.h
index 790a77e32..aebb3fe67 100644
--- a/stdafx.h
+++ b/stdafx.h
@@ -173,12 +173,12 @@
# endif
#endif /* WIN32 || __OS2__ || WIN64 */
-#if defined(UNIX)
-# define PATHSEP "/"
-# define PATHSEPCHAR '/'
-#else
+#if defined(WIN32) || defined(WIN64) || defined(__OS2__)
# define PATHSEP "\\"
# define PATHSEPCHAR '\\'
+#else
+# define PATHSEP "/"
+# define PATHSEPCHAR '/'
#endif
typedef unsigned char byte;