Index: src/client/mac/handler/exception_handler.h |
=================================================================== |
--- src/client/mac/handler/exception_handler.h (revision 847) |
+++ src/client/mac/handler/exception_handler.h (working copy) |
@@ -37,12 +37,16 @@ |
#define CLIENT_MAC_HANDLER_EXCEPTION_HANDLER_H__ |
#include <mach/mach.h> |
+#include <TargetConditionals.h> |
#include <string> |
-#include "client/mac/crash_generation/crash_generation_client.h" |
#include "processor/scoped_ptr.h" |
+#if !TARGET_OS_IPHONE |
+#include "client/mac/crash_generation/crash_generation_client.h" |
+#endif |
+ |
namespace google_breakpad { |
using std::string; |
@@ -152,7 +156,11 @@ |
// Returns whether out-of-process dump generation is used or not. |
bool IsOutOfProcess() const { |
+#if TARGET_OS_IPHONE |
+ return false; |
+#else |
return crash_generation_client_.get() != NULL; |
+#endif |
} |
private: |
@@ -250,8 +258,10 @@ |
// True, if we're using the mutext to indicate when mindump writing occurs |
bool use_minidump_write_mutex_; |
+#if !TARGET_OS_IPHONE |
// Client for out-of-process dump generation. |
scoped_ptr<CrashGenerationClient> crash_generation_client_; |
+#endif |
}; |
} // namespace google_breakpad |