diff options
author | SmallJoker <mk939@ymail.com> | 2015-09-26 09:06:13 +0200 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-10-02 22:47:13 +0200 |
commit | 21944a0d3c5284f6bf1e61286ddbcc2ab2f1e2aa (patch) | |
tree | 03c4c0d74e355c45a530293a1921836701e36af4 /src/filesys.h | |
parent | 8aaae7db05917dbbedebbd1b5616db976dfc2e8e (diff) | |
download | minetest-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.h | 2 |
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 |