summaryrefslogtreecommitdiff
path: root/src/logger.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-13 18:40:11 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-13 18:40:11 +0300
commit55b1de961489f99723288e162f9d3a062d593368 (patch)
tree8e0420837f222828070fd7df010ede11c2ec90ed /src/logger.cpp
parentbcbcdde49b5ff85c5ff4b8356dad475698d28f4e (diff)
downloadmv-55b1de961489f99723288e162f9d3a062d593368.tar.gz
mv-55b1de961489f99723288e162f9d3a062d593368.tar.bz2
mv-55b1de961489f99723288e162f9d3a062d593368.tar.xz
mv-55b1de961489f99723288e162f9d3a062d593368.zip
Fix includes and update deheader ci script.
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"