make sure to not enable SDL_PASSED_BEGINTHREAD_ENDTHREAD for WinRT

This commit is contained in:
Ozkan Sezer 2023-02-07 00:22:37 +03:00
parent b82a8b76b1
commit 7f3036c353

View file

@ -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
*