diff options
author | kwolekr <kwolekr@minetest.net> | 2015-04-18 20:12:14 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2015-04-19 16:52:58 -0400 |
commit | 386d69533095a6f36d5c3a98f2cd8de20a0132d4 (patch) | |
tree | 7f70adbb8079decd34168866c56ac77efe62e24c /src/filesys.h | |
parent | f1a41e4f77ce272e8e454710a7a168d95466742c (diff) | |
download | minetest-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.h | 2 |
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 |