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:
Sylvestre Ledru 2018-11-29 20:21:29 +00:00
Родитель 2b373f4019
Коммит a6f96535e9
2 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -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)