Hopefully fixed the mingw32 build
authorSam Lantinga <slouken@libsdl.org>
Tue, 19 Mar 2019 17:20:54 -0700
changeset 12668dd6b61160cdc
parent 12667 4891e138886a
child 12669 36ee99107390
Hopefully fixed the mingw32 build
src/thread/windows/SDL_systls.c
     1.1 --- a/src/thread/windows/SDL_systls.c	Tue Mar 19 17:05:22 2019 -0700
     1.2 +++ b/src/thread/windows/SDL_systls.c	Tue Mar 19 17:20:54 2019 -0700
     1.3 @@ -29,7 +29,12 @@
     1.4  #include "../SDL_thread_c.h"
     1.5  
     1.6  #if WINAPI_FAMILY_WINRT
     1.7 +#include <fibersapi.h>
     1.8 +
     1.9 +#ifndef TLS_OUT_OF_INDEXES
    1.10  #define TLS_OUT_OF_INDEXES  FLS_OUT_OF_INDEXES
    1.11 +#endif
    1.12 +
    1.13  #define TlsAlloc()  FlsAlloc(NULL)
    1.14  #define TlsSetValue FlsSetValue
    1.15  #define TlsGetValue FlsGetValue