mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-10 16:38:17 +01:00
Funnel all bootstrap_register calls through a routine that doesn't care that
it's deprecated. Apple marked bootstrap_register as deprecated on 10.5 but it's actually still needed on that OS release. There isn't a way to get the functionality Breakpad needs from it without calling it until 10.6. Review URL: https://breakpad.appspot.com/350001 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@921 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
430c0a371a
commit
6fbc102794
6 changed files with 130 additions and 12 deletions
|
|
@ -32,6 +32,7 @@
|
|||
|
||||
#import <stdio.h>
|
||||
#import "MachIPC.h"
|
||||
#include "common/mac/bootstrap_compat.h"
|
||||
|
||||
namespace google_breakpad {
|
||||
//==============================================================================
|
||||
|
|
@ -187,9 +188,10 @@ ReceivePort::ReceivePort(const char *receive_port_name) {
|
|||
if (init_result_ != KERN_SUCCESS)
|
||||
return;
|
||||
|
||||
init_result_ = bootstrap_register(bootstrap_port,
|
||||
const_cast<char*>(receive_port_name),
|
||||
port_);
|
||||
init_result_ = breakpad::BootstrapRegister(
|
||||
bootstrap_port,
|
||||
const_cast<char*>(receive_port_name),
|
||||
port_);
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue