summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/file.c b/src/file.c
index 10d6b2268..feb8558ed 100644
--- a/src/file.c
+++ b/src/file.c
@@ -46,11 +46,12 @@
#include <pwd.h>
#endif
-#define FILE_SEPARATOR "/"
#if defined(_WIN32) || defined(_WIN64)
#define PATH_SEPARATOR ";"
+ #define FILE_SEPARATOR "\\"
#else
#define PATH_SEPARATOR ":"
+ #define FILE_SEPARATOR "/"
#endif
#ifndef LOCK_SH