- Some cleanup.

This commit is contained in:
drfrag666 2018-04-27 22:00:31 +02:00
parent 1acba42baa
commit 0c38c72ad7
2 changed files with 5 additions and 16 deletions

View file

@ -2,9 +2,6 @@
#define __GL_FRAMEBUFFER
#ifdef _WIN32
#ifdef _MSC_VER
#include "win32iface.h"
#endif
#include "win32gliface.h"
#else
#include "sdlglvideo.h"

View file

@ -3356,19 +3356,11 @@ void DisplayCrashLog ()
namespace
{
#ifndef __MINGW32__
bool __declspec(thread) DrawerExceptionSetJumpResult;
CONTEXT __declspec(thread) DrawerExceptionSetJumpContext;
PVOID __declspec(thread) DrawerExceptionHandlerHandle;
const char __declspec(thread) *DrawerExceptionReason;
bool __declspec(thread) DrawerExceptionFatal;
#else
bool __thread DrawerExceptionSetJumpResult;
CONTEXT __thread DrawerExceptionSetJumpContext;
PVOID __thread DrawerExceptionHandlerHandle;
const char __thread *DrawerExceptionReason;
bool __thread DrawerExceptionFatal;
#endif
bool thread_local DrawerExceptionSetJumpResult;
CONTEXT thread_local DrawerExceptionSetJumpContext;
PVOID thread_local DrawerExceptionHandlerHandle;
const char thread_local *DrawerExceptionReason;
bool thread_local DrawerExceptionFatal;
LONG WINAPI DrawerExceptionHandler(_EXCEPTION_POINTERS *exceptionInfo)
{