Commit 2467332c authored by Joe Kutner's avatar Joe Kutner

Made FILE_SEPERATOR platform dependent

parent efaf7467
...@@ -46,11 +46,12 @@ ...@@ -46,11 +46,12 @@
#include <pwd.h> #include <pwd.h>
#endif #endif
#define FILE_SEPARATOR "/"
#if defined(_WIN32) || defined(_WIN64) #if defined(_WIN32) || defined(_WIN64)
#define PATH_SEPARATOR ";" #define PATH_SEPARATOR ";"
#define FILE_SEPARATOR "\\"
#else #else
#define PATH_SEPARATOR ":" #define PATH_SEPARATOR ":"
#define FILE_SEPARATOR "/"
#endif #endif
#ifndef LOCK_SH #ifndef LOCK_SH
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment