Fixed Visual Studio build
diff --git a/src/thread/windows/SDL_systls.c b/src/thread/windows/SDL_systls.c
index efe9f66..f2ef37a 100644
--- a/src/thread/windows/SDL_systls.c
+++ b/src/thread/windows/SDL_systls.c
@@ -28,7 +28,7 @@
 #include "SDL_thread.h"
 #include "../SDL_thread_c.h"
 
-#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
+#if WINAPI_FAMILY_WINRT
 #define TLS_OUT_OF_INDEXES  FLS_OUT_OF_INDEXES
 #define TlsAlloc()  FlsAlloc(NULL)
 #define TlsSetValue FlsSetValue