Permalink
Browse files

Use DEBUG_BUILD instead of DEBUG for debug build

  • Loading branch information...
1 parent eac8af1 commit d0e5e251e10ea0366c4be4d9949d0ed5655058d8 @psychs committed Jul 28, 2012
Showing with 4 additions and 4 deletions.
  1. +1 −1 Classes/Helpers/GTMDefines.h
  2. +2 −2 LimeChat.xcodeproj/project.pbxproj
  3. +1 −1 Others/LimeChat_Prefix.pch
@@ -92,7 +92,7 @@
// We only define the simple macros if nothing else has defined this.
#ifndef _GTMDevLog
-#ifdef DEBUG
+#ifdef DEBUG_BUILD
#define _GTMDevLog(...) NSLog(__VA_ARGS__)
#else
#define _GTMDevLog(...) do { } while (0)
@@ -1644,7 +1644,7 @@
COMBINE_HIDPI_IMAGES = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
TARGET_APP_STORE,
- DEBUG,
+ DEBUG_BUILD,
);
INFOPLIST_FILE = "Others/Info-AppStore.plist";
};
@@ -1698,7 +1698,7 @@
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = Others/LimeChat_Prefix.pch;
- GCC_PREPROCESSOR_DEFINITIONS = DEBUG;
+ GCC_PREPROCESSOR_DEFINITIONS = DEBUG_BUILD;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
LIMECHAT_BUNDLE_IDENTIFIER = "net.limechat.LimeChat-debug";
@@ -7,7 +7,7 @@
#import <Carbon/Carbon.h>
#endif
-#ifdef DEBUG
+#ifdef DEBUG_BUILD
#define LOG(...) NSLog(__VA_ARGS__);
#define LOG_METHOD NSLog(@"%s", __func__);
#define APPLOG(...) NSLog(__VA_ARGS__);

0 comments on commit d0e5e25

Please sign in to comment.