summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Guerra <fabian.guerra@mapbox.com>2019-03-01 13:26:07 -0800
committerFabian Guerra <fabian.guerra@mapbox.com>2019-03-01 13:26:07 -0800
commitd6121a3fdddfac7cd6949ff415b514814f6882a4 (patch)
tree8a835684fc88bc335cca4a36d61d57ba79919002
parent67a9dc35bf0c0113d429161be2c125e75981fb5d (diff)
downloadqtlocation-mapboxgl-d6121a3fdddfac7cd6949ff415b514814f6882a4.tar.gz
[ios, macos] Change the debug flag usage to NDEBUG.
-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