diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fs/virtfs.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/fs/virtfs.cpp b/src/fs/virtfs.cpp index 833d31bd2..6aee3b76a 100644 --- a/src/fs/virtfs.cpp +++ b/src/fs/virtfs.cpp @@ -39,7 +39,11 @@ namespace VirtFs void updateDirSeparator() { - dirSeparator = VirtFsPhys::getDirSeparator(); +#ifdef WIN32 + dirSeparator = "\\"; +#else // WIN32 + dirSeparator = "/"; +#endif // WIN32 } const char *getDirSeparator() |