mirror of https://github.com/encounter/SDL.git
Hopefully fixed the mingw32 build
This commit is contained in:
parent
deb7d08c28
commit
01c924fa9e
|
@ -29,7 +29,12 @@
|
||||||
#include "../SDL_thread_c.h"
|
#include "../SDL_thread_c.h"
|
||||||
|
|
||||||
#if WINAPI_FAMILY_WINRT
|
#if WINAPI_FAMILY_WINRT
|
||||||
|
#include <fibersapi.h>
|
||||||
|
|
||||||
|
#ifndef TLS_OUT_OF_INDEXES
|
||||||
#define TLS_OUT_OF_INDEXES FLS_OUT_OF_INDEXES
|
#define TLS_OUT_OF_INDEXES FLS_OUT_OF_INDEXES
|
||||||
|
#endif
|
||||||
|
|
||||||
#define TlsAlloc() FlsAlloc(NULL)
|
#define TlsAlloc() FlsAlloc(NULL)
|
||||||
#define TlsSetValue FlsSetValue
|
#define TlsSetValue FlsSetValue
|
||||||
#define TlsGetValue FlsGetValue
|
#define TlsGetValue FlsGetValue
|
||||||
|
|
Loading…
Reference in New Issue