summaryrefslogtreecommitdiff
path: root/src/logger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/logger.cpp')
-rw-r--r--src/logger.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/logger.cpp b/src/logger.cpp
index 97a3d7495..b0474c243 100644
--- a/src/logger.cpp
+++ b/src/logger.cpp
@@ -40,6 +40,7 @@
#include <sstream>
+#ifdef ENABLEDEBUGLOG
#if defined(__ANDROID__)
#include <android/log.h>
#ifdef SPECIAL_LOGGING
@@ -62,10 +63,11 @@
#define DSPECIALLOG(x) if (mDebugLog) \
std::cerr << x;
#endif // SPECIAL_LOGGING
-#else
+#else // defined(__ANDROID__)
#define SPECIALLOG(x)
#define DSPECIALLOG(x)
-#endif
+#endif // defined(__ANDROID__)
+#endif // ENABLEDEBUGLOG
#include "debug.h"