diff options
Diffstat (limited to 'src/filesys.h')
-rw-r--r-- | src/filesys.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/filesys.h b/src/filesys.h index b74b34f3d..8bf43c3fa 100644 --- a/src/filesys.h +++ b/src/filesys.h @@ -24,6 +24,14 @@ with this program; if not, write to the Free Software Foundation, Inc., #include <vector> #include "exceptions.h" +#ifdef _WIN32 // WINDOWS +#define DIR_DELIM "\\" +#define DIR_DELIM_C '\\' +#else // POSIX +#define DIR_DELIM "/" +#define DIR_DELIM_C '/' +#endif + namespace fs { |