1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 08:35:20 +02:00

Add environment variable MINETEST_WORLD_PATH

Also add PATH_DELIM for Windows compatibility.
This commit is contained in:
SmallJoker
2015-09-26 09:06:13 +02:00
committed by est31
parent 8aaae7db05
commit 21944a0d3c
2 changed files with 28 additions and 20 deletions

View File

@@ -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