From 8676d623ec8f395194f4a9e93cfbbccc969a0d03 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 27 Feb 2017 20:11:41 +0300 Subject: Use own dir separator in virtfs. --- src/fs/virtfs.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') 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() -- cgit v1.2.3-70-g09d2