projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Catch SendFailedException when replying back in Connection::Receive()
[oweals/minetest.git]
/
src
/
filesys.h
diff --git
a/src/filesys.h
b/src/filesys.h
index b74b34f3da6cc41f272959ca06fa44552b65f29c..8bf43c3faf3de62a6eeb861216890f904659c373 100644
(file)
--- 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
{