diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-07-23 15:23:33 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-07-23 15:23:33 +0300 |
commit | aef1332e4293d873ce5b827785daa3097209c5e6 (patch) | |
tree | 0b8d6c511438b44ab8c0bbd540760cdb99a74217 /src/main.cpp | |
parent | 16fc8b5fc2dbf8f01f143a960cb04828d6e6bc48 (diff) | |
download | minetest-aef1332e4293d873ce5b827785daa3097209c5e6.tar.gz minetest-aef1332e4293d873ce5b827785daa3097209c5e6.tar.bz2 minetest-aef1332e4293d873ce5b827785daa3097209c5e6.zip |
Improve build configuration options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 092a7b03f..6075e9d10 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -878,7 +878,7 @@ int main(int argc, char *argv[]) // Initialize debug streams #define DEBUGFILE "debug.txt" -#ifdef RUN_IN_PLACE +#if RUN_IN_PLACE std::string logfile = DEBUGFILE; #else std::string logfile = porting::path_user+DIR_DELIM+DEBUGFILE; @@ -962,7 +962,7 @@ int main(int argc, char *argv[]) // Legacy configuration file location filenames.push_back(porting::path_user + DIR_DELIM + ".." + DIR_DELIM + "minetest.conf"); -#ifdef RUN_IN_PLACE +#if RUN_IN_PLACE // Try also from a lower level (to aid having the same configuration // for many RUN_IN_PLACE installs) filenames.push_back(porting::path_user + |