mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-21 11:01:36 +00:00
- Fixed 'thread' attribute directive ignored warning with gcc.
This commit is contained in:
parent
f04a1cb497
commit
bc2b82b1fb
1 changed files with 8 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue