summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-06-16 21:36:54 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-06-16 21:36:54 +0300
commit9e21204f8b25025fc0f0057cb68d8b2b2b13c71a (patch)
tree9ec96607dbb70ecab9f3095732a1f7d1ec35d260
parente6b86fa3040abcd5e531413629879cad14db3120 (diff)
downloadminetest-9e21204f8b25025fc0f0057cb68d8b2b2b13c71a.tar.gz
minetest-9e21204f8b25025fc0f0057cb68d8b2b2b13c71a.tar.bz2
minetest-9e21204f8b25025fc0f0057cb68d8b2b2b13c71a.zip
Fix build error due to DEBUGFILE
-rw-r--r--src/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 928b87844..3c9184e2e 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -877,8 +877,9 @@ int main(int argc, char *argv[])
init_gettext((porting::path_share+DIR_DELIM+".."+DIR_DELIM+"locale").c_str());
// Initialize debug streams
+#define DEBUGFILE "debug.txt"
#ifdef RUN_IN_PLACE
- std::string logfile = "debug.txt";
+ std::string logfile = DEBUGFILE;
#else
std::string logfile = porting::path_user+DIR_DELIM+DEBUGFILE;
#endif