summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLLoggingConfiguration.h
diff options
context:
space:
mode:
authorFabian Guerra Soto <fabian.guerra@mapbox.com>2019-03-25 09:25:08 -0700
committerGitHub <noreply@github.com>2019-03-25 09:25:08 -0700
commit10114c85bba9c2c0e62aa6361b887717f9f05921 (patch)
tree465807543f4353e3e0c388fb4ba482ceeb23f615 /platform/darwin/src/MGLLoggingConfiguration.h
parent81c48bbca7044fd29b649dc3de1aba5c50b82a05 (diff)
downloadqtlocation-mapboxgl-10114c85bba9c2c0e62aa6361b887717f9f05921.tar.gz
[ios, macos, build] Remove DEBUG from logging configuration. (#13933)
* [ios, macos] Change the debug flag usage to NDEBUG. * [ios, macos] Add NDEBUG preprocessor macro to ios/macos project conf.
Diffstat (limited to 'platform/darwin/src/MGLLoggingConfiguration.h')
-rw-r--r--platform/darwin/src/MGLLoggingConfiguration.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLLoggingConfiguration.h b/platform/darwin/src/MGLLoggingConfiguration.h
index 6782dc60a7..d79336df4c 100644
--- a/platform/darwin/src/MGLLoggingConfiguration.h
+++ b/platform/darwin/src/MGLLoggingConfiguration.h
@@ -4,7 +4,7 @@
#ifndef MGL_LOGGING_DISABLED
#ifndef MGL_LOGGING_ENABLE_DEBUG
- #ifdef DEBUG
+ #ifndef NDEBUG
#define MGL_LOGGING_ENABLE_DEBUG 1
#endif
#endif