1diff --git a/src/common/mac/MachIPC.h b/src/common/mac/MachIPC.h 2--- a/src/common/mac/MachIPC.h 3+++ b/src/common/mac/MachIPC.h 4@@ -90,18 +90,20 @@ 5 // 6 // char messageString[] = "Hello server!\n"; 7 // message.SetData(messageString, strlen(messageString)+1); 8 // 9 // kern_return_t result = sender.SendMessage(message, 1000); // timeout 1000ms 10 // 11 12 namespace google_breakpad { 13+#ifndef PRINT_MACH_RESULT 14 #define PRINT_MACH_RESULT(result_, message_) \ 15 printf(message_" %s (%d)\n", mach_error_string(result_), result_ ); 16+#endif 17 18 //============================================================================== 19 // A wrapper class for mach_msg_port_descriptor_t (with same memory layout) 20 // with convenient constructors and accessors 21 class MachMsgPortDescriptor : public mach_msg_port_descriptor_t { 22 public: 23 // General-purpose constructor 24 MachMsgPortDescriptor(mach_port_t in_name, 25