mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 04:53:27 +02:00
changes to make development easier in QtCreator
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifdef __linux
|
||||
|
||||
#include "crashhandler.h"
|
||||
#include <framework/global.h>
|
||||
#include <framework/application.h>
|
||||
@@ -131,3 +133,5 @@ void installCrashHandler()
|
||||
sigaction(SIGFPE, &sa, NULL); // floating-point exception
|
||||
sigaction(SIGABRT, &sa, NULL); // process aborted (asserts)
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@@ -20,6 +20,8 @@
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
#include "crashhandler.h"
|
||||
#include <framework/global.h>
|
||||
#include <framework/application.h>
|
||||
@@ -156,3 +158,5 @@ void installCrashHandler()
|
||||
{
|
||||
SetUnhandledExceptionFilter(ExceptionHandler);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@@ -20,6 +20,8 @@
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
#include "win32window.h"
|
||||
|
||||
#include <framework/application.h>
|
||||
@@ -950,3 +952,5 @@ std::string WIN32Window::getPlatformType()
|
||||
return "WIN32-EGL";
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@@ -20,6 +20,8 @@
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifdef __linux
|
||||
|
||||
#include "x11window.h"
|
||||
#include <framework/core/resourcemanager.h>
|
||||
#include <framework/thirdparty/apngloader.h>
|
||||
@@ -1065,3 +1067,5 @@ std::string X11Window::getPlatformType()
|
||||
return "X11-EGL";
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user