Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

DLog now gets printed regardless of build type

  • Loading branch information...
commit 6fd8a180d9b473fc42541d284c4c6fef862a1193 1 parent f9924d7
Michael Fey authored
2  Daemon/ZSyncDaemon.xcodeproj/project.pbxproj
@@ -543,7 +543,7 @@
543 543 GCC_OPTIMIZATION_LEVEL = 0;
544 544 GCC_WARN_ABOUT_RETURN_TYPE = YES;
545 545 GCC_WARN_UNUSED_VARIABLE = YES;
546   - ONLY_ACTIVE_ARCH = YES;
  546 + ONLY_ACTIVE_ARCH = NO;
547 547 PREBINDING = NO;
548 548 SDKROOT = macosx10.5;
549 549 };
2  SharedCode/ZSyncShared.h
@@ -2,7 +2,7 @@
2 2 #define DLog(...) NSLog(@"%s(%x) %@", __PRETTY_FUNCTION__, self, [NSString stringWithFormat:__VA_ARGS__])
3 3 #define ALog(...) [[NSAssertionHandler currentHandler] handleFailureInFunction:[NSString stringWithCString:__PRETTY_FUNCTION__ encoding:NSUTF8StringEncoding] file:[NSString stringWithCString:__FILE__ encoding:NSUTF8StringEncoding] lineNumber:__LINE__ description:__VA_ARGS__]
4 4 #else
5   - #define DLog(...) do { } while (0)
  5 +#define DLog(...) NSLog(@"%s(%x) %@", __PRETTY_FUNCTION__, self, [NSString stringWithFormat:__VA_ARGS__])
6 6 #ifndef NS_BLOCK_ASSERTIONS
7 7 #define NS_BLOCK_ASSERTIONS
8 8 #endif

0 comments on commit 6fd8a18

Please sign in to comment.
Something went wrong with that request. Please try again.