Fixed Visual Studio build
authorSam Lantinga <slouken@libsdl.org>
Tue, 19 Mar 2019 17:05:22 -0700
changeset 126674891e138886a
parent 12666 792209d71724
child 12668 dd6b61160cdc
Fixed Visual Studio build
src/thread/windows/SDL_systls.c
     1.1 --- a/src/thread/windows/SDL_systls.c	Tue Mar 19 16:53:55 2019 -0700
     1.2 +++ b/src/thread/windows/SDL_systls.c	Tue Mar 19 17:05:22 2019 -0700
     1.3 @@ -28,7 +28,7 @@
     1.4  #include "SDL_thread.h"
     1.5  #include "../SDL_thread_c.h"
     1.6  
     1.7 -#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
     1.8 +#if WINAPI_FAMILY_WINRT
     1.9  #define TLS_OUT_OF_INDEXES  FLS_OUT_OF_INDEXES
    1.10  #define TlsAlloc()  FlsAlloc(NULL)
    1.11  #define TlsSetValue FlsSetValue