aboutsummaryrefslogtreecommitdiff
path: root/Foundation
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2014-02-25 20:00:11 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2014-02-25 20:00:11 +0000
commitcfe2827ce3ab3bef39bdea6e168ee9d577fb7974 (patch)
tree0f4df831dd7238f7318fea8e3d524a463a0e2d54 /Foundation
parent47698affec42b20e572fc9bfbe6563e5b39391c3 (diff)
More -Wundef fixes for GTM (GTMLogger specifically)
DELTA=1 (0 added, 0 deleted, 1 changed)
Diffstat (limited to 'Foundation')
-rw-r--r--Foundation/GTMLogger.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Foundation/GTMLogger.m b/Foundation/GTMLogger.m
index 424f3c0..ebc5836 100644
--- a/Foundation/GTMLogger.m
+++ b/Foundation/GTMLogger.m
@@ -505,7 +505,7 @@ static BOOL IsVerboseLoggingEnabled(void) {
// In DEBUG builds, log everything. If we're not in a debug build we'll assume
// that we're in a Release build.
- (BOOL)filterAllowsMessage:(NSString *)msg level:(GTMLoggerLevel)level {
-#if DEBUG
+#if defined(DEBUG) && DEBUG
return YES;
#endif