More Mac OS X progress.

Tested-by: Christopher Eklund <eklundchristopher@gmail.com>
Signed-off-by: otfallen <f.fallen45@gmail.com>
Signed-off-by: Christopher Eklund <eklundchristopher@gmail.com>
This commit is contained in:
otfallen 2012-09-29 23:08:10 +00:00
parent f0e85e21b3
commit 9650179ae8
2 changed files with 9 additions and 1 deletions

View File

@ -34,6 +34,14 @@
#include <framework/net/connection.h>
#endif
/* Ugly hack but works. */
#if defined __APPLE__ && defined CRASH_HANDLER
/* UNIX Crash handler for some reason did not go as expected on a Mac system
* TODO: RTFM it.
*/
#undef CRASH_HANDLER
#endif
void exitSignalHandler(int sig)
{
static bool signaled = false;

View File

@ -20,7 +20,7 @@
* THE SOFTWARE.
*/
#ifdef __linux
#if defined __linux || defined __APPLE__
#include "x11window.h"
#include <framework/core/resourcemanager.h>