зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1511140 - Declare PRINT_MACH_RESULT only once r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D13458 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
2b373f4019
Коммит
a6f96535e9
|
@ -67,8 +67,10 @@
|
|||
// kern_return_t result = sender.SendMessage(message, 1000);
|
||||
//
|
||||
|
||||
#ifndef PRINT_MACH_RESULT
|
||||
#define PRINT_MACH_RESULT(result_, message_) \
|
||||
printf(message_" %s (%d)\n", mach_error_string(result_), result_ );
|
||||
#endif
|
||||
|
||||
//==============================================================================
|
||||
// A wrapper class for mach_msg_port_descriptor_t (with same memory layout)
|
||||
|
|
|
@ -95,8 +95,10 @@
|
|||
//
|
||||
|
||||
namespace google_breakpad {
|
||||
#ifndef PRINT_MACH_RESULT
|
||||
#define PRINT_MACH_RESULT(result_, message_) \
|
||||
printf(message_" %s (%d)\n", mach_error_string(result_), result_ );
|
||||
#endif
|
||||
|
||||
//==============================================================================
|
||||
// A wrapper class for mach_msg_port_descriptor_t (with same memory layout)
|
||||
|
|
Загрузка…
Ссылка в новой задаче