mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-05-03 20:06:44 +00:00
make sure to not enable SDL_PASSED_BEGINTHREAD_ENDTHREAD for WinRT
This commit is contained in:
parent
7bf3e28dc6
commit
c68cfcdb2d
|
@ -35,7 +35,7 @@
|
||||||
#include "SDL_atomic.h"
|
#include "SDL_atomic.h"
|
||||||
#include "SDL_mutex.h"
|
#include "SDL_mutex.h"
|
||||||
|
|
||||||
#if defined(__WIN32__) || defined(__GDK__)
|
#if (defined(__WIN32__) || defined(__GDK__)) && !defined(__WINRT__)
|
||||||
#include <process.h> /* _beginthreadex() and _endthreadex() */
|
#include <process.h> /* _beginthreadex() and _endthreadex() */
|
||||||
#endif
|
#endif
|
||||||
#if defined(__OS2__) /* for _beginthread() and _endthread() */
|
#if defined(__OS2__) /* for _beginthread() and _endthread() */
|
||||||
|
@ -88,7 +88,7 @@ typedef enum {
|
||||||
typedef int (SDLCALL * SDL_ThreadFunction) (void *data);
|
typedef int (SDLCALL * SDL_ThreadFunction) (void *data);
|
||||||
|
|
||||||
|
|
||||||
#if defined(__WIN32__) || defined(__GDK__)
|
#if (defined(__WIN32__) || defined(__GDK__)) && !defined(__WINRT__)
|
||||||
/**
|
/**
|
||||||
* \file SDL_thread.h
|
* \file SDL_thread.h
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue