commit | a41ab9326c8f0f7eb738e5d51a239a2b9e276361 | [log] [tgz] |
---|---|---|
author | tfarina <tfarina@chromium.org> | Fri Oct 30 16:08:48 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Fri Oct 30 23:08:54 2015 +0000 |
tree | 3366e216ef79b25b8b9ea91709757d1fd657cf77 | |
parent | 5c3da4b6e9bdc787a3c1f25c0ff0c16a4271fd26 [diff] [blame] |
Switch usage of _DEBUG macro to NDEBUG. http://stackoverflow.com/a/29253284/5237416 BUG=None R=tommi@webrtc.org NOPRESUBMIT=true Review URL: https://codereview.webrtc.org/1429513004 Cr-Commit-Position: refs/heads/master@{#10468}
diff --git a/webrtc/examples/objc/AppRTCDemo/ios/ARDAppDelegate.m b/webrtc/examples/objc/AppRTCDemo/ios/ARDAppDelegate.m index 0f4165e..9568b94 100644 --- a/webrtc/examples/objc/AppRTCDemo/ios/ARDAppDelegate.m +++ b/webrtc/examples/objc/AppRTCDemo/ios/ARDAppDelegate.m
@@ -29,7 +29,7 @@ ARDMainViewController *viewController = [[ARDMainViewController alloc] init]; _window.rootViewController = viewController; -#ifndef _DEBUG +#if defined(NDEBUG) // In debug builds the default level is LS_INFO and in non-debug builds it is // disabled. Continue to log to console in non-debug builds, but only // warnings and errors.