mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-03 18:37:40 +00:00
windows: Clean out things that should be using defined(SDL_PLATFORM_WINDOWS)
.
This commit is contained in:
parent
154452a726
commit
ac08dde1b2
23 changed files with 47 additions and 54 deletions
|
@ -36,7 +36,7 @@
|
|||
#include <SDL3/SDL_atomic.h>
|
||||
#include <SDL3/SDL_mutex.h>
|
||||
|
||||
#if (defined(SDL_PLATFORM_WIN32) || defined(SDL_PLATFORM_GDK))
|
||||
#if defined(SDL_PLATFORM_WINDOWS)
|
||||
#include <process.h> /* _beginthreadex() and _endthreadex() */
|
||||
#endif
|
||||
|
||||
|
@ -263,7 +263,7 @@ extern SDL_DECLSPEC SDL_Thread * SDLCALL SDL_CreateThreadWithProperties(SDL_Prop
|
|||
|
||||
/* The real implementation, hidden from the wiki, so it can show this as real functions that don't have macro magic. */
|
||||
#ifndef SDL_WIKI_DOCUMENTATION_SECTION
|
||||
# if (defined(SDL_PLATFORM_WIN32) || defined(SDL_PLATFORM_GDK))
|
||||
# if defined(SDL_PLATFORM_WINDOWS)
|
||||
# ifndef SDL_BeginThreadFunction
|
||||
# define SDL_BeginThreadFunction _beginthreadex
|
||||
# endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue