mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Made FILE_SEPERATOR platform dependent
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user