Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Hopefully fixed the mingw32 build
  • Loading branch information
slouken committed Mar 20, 2019
1 parent deb7d08 commit 01c924f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/thread/windows/SDL_systls.c
Expand Up @@ -29,7 +29,12 @@
#include "../SDL_thread_c.h"

#if WINAPI_FAMILY_WINRT
#include <fibersapi.h>

#ifndef TLS_OUT_OF_INDEXES
#define TLS_OUT_OF_INDEXES FLS_OUT_OF_INDEXES
#endif

#define TlsAlloc() FlsAlloc(NULL)
#define TlsSetValue FlsSetValue
#define TlsGetValue FlsGetValue
Expand Down

0 comments on commit 01c924f

Please sign in to comment.