diff options
author | mark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2011-10-06 18:03:17 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2011-10-06 18:03:17 +0000 |
commit | be368a3d4a5ab67d9bafc24e46635fb2d3fda7ea (patch) | |
tree | 3f29a37a47939973bf82a4219129db0fb01145cc /src/client/mac/Framework | |
parent | Adding .dirstamp to svn:ignore for libdisasm. (diff) | |
download | breakpad-be368a3d4a5ab67d9bafc24e46635fb2d3fda7ea.tar.xz |
10.4 SDK fix
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@847 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/mac/Framework')
-rw-r--r-- | src/client/mac/Framework/OnDemandServer.mm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/mac/Framework/OnDemandServer.mm b/src/client/mac/Framework/OnDemandServer.mm index 43a2703b..cfbc6629 100644 --- a/src/client/mac/Framework/OnDemandServer.mm +++ b/src/client/mac/Framework/OnDemandServer.mm @@ -33,9 +33,15 @@ #if DEBUG #define PRINT_MACH_RESULT(result_, message_) \ printf(message_"%s (%d)\n", mach_error_string(result_), result_ ); +#if defined(MAC_OS_X_VERSION_10_5) && \ + MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5 #define PRINT_BOOTSTRAP_RESULT(result_, message_) \ printf(message_"%s (%d)\n", bootstrap_strerror(result_), result_ ); #else + #define PRINT_BOOTSTRAP_RESULT(result_, message_) \ + PRINT_MACH_RESULT(result_, message_) +#endif +#else #define PRINT_MACH_RESULT(result_, message_) #define PRINT_BOOTSTRAP_RESULT(result_, message_) #endif |