ref: abac4feb9aa012a643d3219baf76557f3e348d33
parent: 97554f9a5b5fbec49b581659d6410fa878877a99
author: Simon Howard <[email protected]>
date: Fri Nov 28 14:56:29 EST 2014
Disable OS X error dialog box for now. This doesn't seem to be working.
--- a/src/i_system.c
+++ b/src/i_system.c
@@ -256,7 +256,8 @@
exit(0);
}
-#if !defined(_WIN32) && !defined(__MACOSX__)
+// SDL2-TODO: Fix the dialog box on OS X.
+#if !defined(_WIN32) && !defined(__DISABLED__MACOSX__)
#define ZENITY_BINARY "/usr/bin/zenity"
// returns non-zero if zenity is available
@@ -409,7 +410,7 @@
MessageBoxW(NULL, wmsgbuf, L"", MB_OK);
}
-#elif defined(__MACOSX__)
+#elif defined(__DISABLED__MACOSX__)
{
CFStringRef message;
int i;