- Fixed 'thread' attribute directive ignored warning with gcc.

This commit is contained in:
drfrag666 2018-04-23 17:49:32 +02:00
parent f04a1cb497
commit bc2b82b1fb

View file

@ -3356,11 +3356,19 @@ 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
LONG WINAPI DrawerExceptionHandler(_EXCEPTION_POINTERS *exceptionInfo)
{