mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix build error due to DEBUGFILE
This commit is contained in:
parent
e6b86fa304
commit
9e21204f8b
1 changed files with 2 additions and 1 deletions
|
@ -877,8 +877,9 @@ int main(int argc, char *argv[])
|
||||||
init_gettext((porting::path_share+DIR_DELIM+".."+DIR_DELIM+"locale").c_str());
|
init_gettext((porting::path_share+DIR_DELIM+".."+DIR_DELIM+"locale").c_str());
|
||||||
|
|
||||||
// Initialize debug streams
|
// Initialize debug streams
|
||||||
|
#define DEBUGFILE "debug.txt"
|
||||||
#ifdef RUN_IN_PLACE
|
#ifdef RUN_IN_PLACE
|
||||||
std::string logfile = "debug.txt";
|
std::string logfile = DEBUGFILE;
|
||||||
#else
|
#else
|
||||||
std::string logfile = porting::path_user+DIR_DELIM+DEBUGFILE;
|
std::string logfile = porting::path_user+DIR_DELIM+DEBUGFILE;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue