summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/osdcore.h
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2015-03-31 01:43:27 +1100
committer Vas Crabb <vas@vastheman.com>2015-03-31 01:51:01 +1100
commit945ff007a6c11fde025f2268a54ea0feb19523f8 (patch)
tree3af9a1a52d1cd2f091660ef8980e27702212e86f /src/osd/osdcore.h
parent2f3d1de4775499649ff1069bd2152cae3cc040fb (diff)
Fix creation of paths
Diffstat (limited to 'src/osd/osdcore.h')
-rw-r--r--src/osd/osdcore.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/osd/osdcore.h b/src/osd/osdcore.h
index ceb0cb45dbc..c7ae389db03 100644
--- a/src/osd/osdcore.h
+++ b/src/osd/osdcore.h
@@ -28,8 +28,12 @@
/* Make sure we have a path separator (default to /) */
#ifndef PATH_SEPARATOR
+#if defined(_WIN32) || defined (__OS2__)
+#define PATH_SEPARATOR "\\"
+#else
#define PATH_SEPARATOR "/"
#endif
+#endif
/* flags controlling file access */
#define OPEN_FLAG_READ 0x0001 /* open for read */