summaryrefslogtreecommitdiff
path: root/src/filesys.h
diff options
context:
space:
mode:
authorSmallJoker <mk939@ymail.com>2015-09-26 09:06:13 +0200
committerest31 <MTest31@outlook.com>2015-10-02 22:47:13 +0200
commit21944a0d3c5284f6bf1e61286ddbcc2ab2f1e2aa (patch)
tree03c4c0d74e355c45a530293a1921836701e36af4 /src/filesys.h
parent8aaae7db05917dbbedebbd1b5616db976dfc2e8e (diff)
downloadminetest-21944a0d3c5284f6bf1e61286ddbcc2ab2f1e2aa.tar.gz
minetest-21944a0d3c5284f6bf1e61286ddbcc2ab2f1e2aa.tar.bz2
minetest-21944a0d3c5284f6bf1e61286ddbcc2ab2f1e2aa.zip
Add environment variable MINETEST_WORLD_PATH
Also add PATH_DELIM for Windows compatibility.
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 19fcbb673..cc6f43ec4 100644
--- a/src/filesys.h
+++ b/src/filesys.h
@@ -28,10 +28,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define DIR_DELIM "\\"
#define DIR_DELIM_CHAR '\\'
#define FILESYS_CASE_INSENSITIVE 1
+#define PATH_DELIM ";"
#else // POSIX
#define DIR_DELIM "/"
#define DIR_DELIM_CHAR '/'
#define FILESYS_CASE_INSENSITIVE 0
+#define PATH_DELIM ":"
#endif
namespace fs