summaryrefslogtreecommitdiff
path: root/base.h
diff options
context:
space:
mode:
Diffstat (limited to 'base.h')
-rw-r--r--base.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/base.h b/base.h
index f6b0452..9ecbda4 100644
--- a/base.h
+++ b/base.h
@@ -10,9 +10,12 @@
#include <shlobj.h>
#define PATH_SEPARATOR '\\'
#define PATH_SEPARATOR_STR "\\"
+// on windows, let the user use forwards slashes as well as backslashes
+#define ALL_PATH_SEPARATORS "\\/"
#else
#define PATH_SEPARATOR '/'
#define PATH_SEPARATOR_STR "/"
+#define ALL_PATH_SEPARATORS "/"
#endif
#include <stdbool.h>