mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Add environment variable MINETEST_WORLD_PATH
Also add PATH_DELIM for Windows compatibility.
This commit is contained in:
parent
8aaae7db05
commit
21944a0d3c
2 changed files with 28 additions and 20 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue