mirror of https://github.com/libsdl-org/SDL
make sure to not enable SDL_PASSED_BEGINTHREAD_ENDTHREAD for WinRT
This commit is contained in:
parent
b82a8b76b1
commit
7f3036c353
|
@ -35,7 +35,7 @@
|
|||
#include <SDL3/SDL_atomic.h>
|
||||
#include <SDL3/SDL_mutex.h>
|
||||
|
||||
#if defined(__WIN32__) || defined(__GDK__)
|
||||
#if (defined(__WIN32__) || defined(__GDK__)) && !defined(__WINRT__)
|
||||
#include <process.h> /* _beginthreadex() and _endthreadex() */
|
||||
#endif
|
||||
|
||||
|
@ -81,7 +81,7 @@ typedef enum {
|
|||
typedef int (SDLCALL * SDL_ThreadFunction) (void *data);
|
||||
|
||||
|
||||
#if defined(__WIN32__) || defined(__GDK__)
|
||||
#if (defined(__WIN32__) || defined(__GDK__)) && !defined(__WINRT__)
|
||||
/**
|
||||
* \file SDL_thread.h
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue