Fix build break on OSX
msgbox_error() is defined for both Cocoa and Carbon so the define should not be used.
This commit is contained in:
parent
783bd90a72
commit
9da7ed9e27
|
@ -20,7 +20,7 @@ namespace dcx {
|
|||
extern void msgbox_warning(const char *message);
|
||||
|
||||
// Display an error in a messagebox
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) || defined(__APPLE__) || defined(__MACH__)
|
||||
extern void msgbox_error(const char *message);
|
||||
#else
|
||||
#define msgbox_error(M) (static_cast<void>(M))
|
||||
|
|
Loading…
Reference in a new issue