summaryrefslogtreecommitdiff
path: root/src/filesys.h
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2015-04-18 20:12:14 -0400
committerkwolekr <kwolekr@minetest.net>2015-04-19 16:52:58 -0400
commit386d69533095a6f36d5c3a98f2cd8de20a0132d4 (patch)
tree7f70adbb8079decd34168866c56ac77efe62e24c /src/filesys.h
parentf1a41e4f77ce272e8e454710a7a168d95466742c (diff)
downloadminetest-386d69533095a6f36d5c3a98f2cd8de20a0132d4.tar.gz
minetest-386d69533095a6f36d5c3a98f2cd8de20a0132d4.tar.bz2
minetest-386d69533095a6f36d5c3a98f2cd8de20a0132d4.zip
Porting: Refactor initalizePaths()
Add support for Solaris and HP-UX Search additional potential procfs locations for current executable
Diffstat (limited to 'src/filesys.h')
-rw-r--r--src/filesys.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/filesys.h b/src/filesys.h
index c22e89b3e..bfb340d85 100644
--- a/src/filesys.h
+++ b/src/filesys.h
@@ -26,9 +26,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#ifdef _WIN32 // WINDOWS
#define DIR_DELIM "\\"
+#define DIR_DELIM_CHAR '\\'
#define FILESYS_CASE_INSENSITIVE 1
#else // POSIX
#define DIR_DELIM "/"
+#define DIR_DELIM_CHAR '/'
#define FILESYS_CASE_INSENSITIVE 0
#endif