summaryrefslogtreecommitdiffstats
path: root/src/portable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/portable.cpp')
-rw-r--r--src/portable.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/portable.cpp b/src/portable.cpp
index dc276d1..174fa20 100644
--- a/src/portable.cpp
+++ b/src/portable.cpp
@@ -22,7 +22,9 @@ extern char **environ;
#endif
#include "portable.h"
-//#include "debug.h"
+#ifndef NODEBUG
+#include "debug.h"
+#endif
//#include "doxygen.h"
static double sysElapsedTime;
@@ -43,7 +45,9 @@ int portable_system(const char *command,const char *args,bool commandHasConsole
}
fullCmd += " ";
fullCmd += args;
- //Debug::print(Debug::ExtCmd,0,"Executing external command `%s`\n",fullCmd.data());
+#ifndef NODEBUG
+ Debug::print(Debug::ExtCmd,0,"Executing external command `%s`\n",fullCmd.data());
+#endif
#if !defined(_WIN32) || defined(__CYGWIN__)
commandHasConsole=commandHasConsole;