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:
parent
f0e85e21b3
commit
9650179ae8
|
@ -34,6 +34,14 @@
|
||||||
#include <framework/net/connection.h>
|
#include <framework/net/connection.h>
|
||||||
#endif
|
#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)
|
void exitSignalHandler(int sig)
|
||||||
{
|
{
|
||||||
static bool signaled = false;
|
static bool signaled = false;
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
* THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef __linux
|
#if defined __linux || defined __APPLE__
|
||||||
|
|
||||||
#include "x11window.h"
|
#include "x11window.h"
|
||||||
#include <framework/core/resourcemanager.h>
|
#include <framework/core/resourcemanager.h>
|
||||||
|
|
Loading…
Reference in New Issue