From 2467332c935e10a68db96de71fbf58648a72ebfb Mon Sep 17 00:00:00 2001 From: Joe Kutner Date: Thu, 20 Aug 2015 07:22:48 -0500 Subject: Made FILE_SEPERATOR platform dependent --- src/file.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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 #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 -- cgit v1.2.3