src/thread/windows/SDL_systls.c
changeset 12668 dd6b61160cdc
parent 12667 4891e138886a
equal deleted inserted replaced
12667:4891e138886a 12668:dd6b61160cdc
    27 
    27 
    28 #include "SDL_thread.h"
    28 #include "SDL_thread.h"
    29 #include "../SDL_thread_c.h"
    29 #include "../SDL_thread_c.h"
    30 
    30 
    31 #if WINAPI_FAMILY_WINRT
    31 #if WINAPI_FAMILY_WINRT
       
    32 #include <fibersapi.h>
       
    33 
       
    34 #ifndef TLS_OUT_OF_INDEXES
    32 #define TLS_OUT_OF_INDEXES  FLS_OUT_OF_INDEXES
    35 #define TLS_OUT_OF_INDEXES  FLS_OUT_OF_INDEXES
       
    36 #endif
       
    37 
    33 #define TlsAlloc()  FlsAlloc(NULL)
    38 #define TlsAlloc()  FlsAlloc(NULL)
    34 #define TlsSetValue FlsSetValue
    39 #define TlsSetValue FlsSetValue
    35 #define TlsGetValue FlsGetValue
    40 #define TlsGetValue FlsGetValue
    36 #endif
    41 #endif
    37 
    42