projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6b86fa
)
Fix build error due to DEBUGFILE
author
Perttu Ahola
<celeron55@gmail.com>
Sat, 16 Jun 2012 18:36:54 +0000
(21:36 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Sat, 16 Jun 2012 18:36:54 +0000
(21:36 +0300)
src/main.cpp
patch
|
blob
|
history
diff --git
a/src/main.cpp
b/src/main.cpp
index 928b878444205b74e9cfe7f7a72cba75ee16721d..3c9184e2e6c5d9aec29bccb05f0eb57baacfaaab 100644
(file)
--- 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