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:
Lukasz Pawelczyk 2017-09-10 13:25:37 +02:00
parent 783bd90a72
commit 9da7ed9e27

View file

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