diff options
author | ted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2010-08-16 16:44:47 +0000 |
---|---|---|
committer | ted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2010-08-16 16:44:47 +0000 |
commit | a599ae80aa44f2f6dbe8c5b86d2e503a8c7b6639 (patch) | |
tree | 84564ec59ff27cb497a56eef2d7e069ec2825d8b /src/common | |
parent | Fix a couple of bugs where we generate incorrect minidump files on Linux.o (diff) | |
download | breakpad-a599ae80aa44f2f6dbe8c5b86d2e503a8c7b6639.tar.xz |
Put MachIPC into the google_breakpad namespace
R=mark at http://breakpad.appspot.com/151001/show
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@650 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/mac/MachIPC.h | 3 | ||||
-rw-r--r-- | src/common/mac/MachIPC.mm | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/common/mac/MachIPC.h b/src/common/mac/MachIPC.h index 4df85fcf..2213fc6b 100644 --- a/src/common/mac/MachIPC.h +++ b/src/common/mac/MachIPC.h @@ -94,6 +94,7 @@ // kern_return_t result = sender.SendMessage(message, 1000); // timeout 1000ms // +namespace google_breakpad { #define PRINT_MACH_RESULT(result_, message_) \ printf(message_" %s (%d)\n", mach_error_string(result_), result_ ); @@ -301,4 +302,6 @@ class MachPortSender { kern_return_t init_result_; }; +} // namespace google_breakpad + #endif // MACH_IPC_H__ diff --git a/src/common/mac/MachIPC.mm b/src/common/mac/MachIPC.mm index 35952e7e..4f58c02d 100644 --- a/src/common/mac/MachIPC.mm +++ b/src/common/mac/MachIPC.mm @@ -33,6 +33,7 @@ #import <stdio.h> #import "MachIPC.h" +namespace google_breakpad { //============================================================================== MachSendMessage::MachSendMessage(int32_t message_id) : MachMessage() { head.msgh_bits = MACH_MSGH_BITS(MACH_MSG_TYPE_COPY_SEND, 0); @@ -299,3 +300,5 @@ kern_return_t MachPortSender::SendMessage(MachSendMessage &message, return result; } + +} // namespace google_breakpad |