diff options
| author | Joe Kutner <[email protected]> | 2015-08-20 07:22:48 -0500 |
|---|---|---|
| committer | Joe Kutner <[email protected]> | 2015-08-20 07:22:48 -0500 |
| commit | 2467332c935e10a68db96de71fbf58648a72ebfb (patch) | |
| tree | a8fd1b00a3165b7af34e870875be4edd63f95976 /src | |
| parent | efaf74672e1848464f78314f24d458c75c15408d (diff) | |
| download | mruby-2467332c935e10a68db96de71fbf58648a72ebfb.tar.gz mruby-2467332c935e10a68db96de71fbf58648a72ebfb.zip | |
Made FILE_SEPERATOR platform dependent
Diffstat (limited to 'src')
| -rw-r--r-- | src/file.c | 3 |
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 |
