From 9e21204f8b25025fc0f0057cb68d8b2b2b13c71a Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 16 Jun 2012 21:36:54 +0300 Subject: [PATCH] Fix build error due to DEBUGFILE --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 928b878..3c9184e 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