mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 12:04:55 +02:00
fix motd box issues
This commit is contained in:
@@ -33,7 +33,6 @@
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xatom.h>
|
||||
#include <execinfo.h>
|
||||
|
||||
struct X11PlatformPrivate {
|
||||
Display *display;
|
||||
@@ -72,11 +71,12 @@ Platform g_platform;
|
||||
|
||||
#ifdef HANDLE_EXCEPTIONS
|
||||
|
||||
#include <csignal>
|
||||
#include <execinfo.h>
|
||||
|
||||
#define MAX_BACKTRACE_DEPTH 128
|
||||
#define DEMANGLE_BACKTRACE_SYMBOLS
|
||||
|
||||
#include <csignal>
|
||||
|
||||
void crashHandler(int signum, siginfo_t* info, void* secret)
|
||||
{
|
||||
logError("Application crashed");
|
||||
|
Reference in New Issue
Block a user