Permalink
Browse files

DLog now gets printed regardless of build type

  • Loading branch information...
1 parent f9924d7 commit 6fd8a180d9b473fc42541d284c4c6fef862a1193 Michael Fey committed Aug 11, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 Daemon/ZSyncDaemon.xcodeproj/project.pbxproj
  2. +1 −1 SharedCode/ZSyncShared.h
@@ -543,7 +543,7 @@
GCC_OPTIMIZATION_LEVEL = 0;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- ONLY_ACTIVE_ARCH = YES;
+ ONLY_ACTIVE_ARCH = NO;
PREBINDING = NO;
SDKROOT = macosx10.5;
};
View
@@ -2,7 +2,7 @@
#define DLog(...) NSLog(@"%s(%x) %@", __PRETTY_FUNCTION__, self, [NSString stringWithFormat:__VA_ARGS__])
#define ALog(...) [[NSAssertionHandler currentHandler] handleFailureInFunction:[NSString stringWithCString:__PRETTY_FUNCTION__ encoding:NSUTF8StringEncoding] file:[NSString stringWithCString:__FILE__ encoding:NSUTF8StringEncoding] lineNumber:__LINE__ description:__VA_ARGS__]
#else
- #define DLog(...) do { } while (0)
+#define DLog(...) NSLog(@"%s(%x) %@", __PRETTY_FUNCTION__, self, [NSString stringWithFormat:__VA_ARGS__])
#ifndef NS_BLOCK_ASSERTIONS
#define NS_BLOCK_ASSERTIONS
#endif

0 comments on commit 6fd8a18

Please sign in to comment.