Commit deb7d08c282d1747891f7483091a1877537b9f1a

Sam Lantinga 2019-03-19T17:05:22

Fixed Visual Studio build

1
2
3
4
5
6
7
8
9
10
11
12
13
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