mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-20 15:51:07 +01:00
Sync SDL3 wiki -> headers.
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for AIX.
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*/
|
||||
#define SDL_PLATFORM_AIX 1
|
||||
#endif
|
||||
@@ -43,7 +43,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for Haiku OS.
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*/
|
||||
#define SDL_PLATFORM_HAIKU 1
|
||||
#endif
|
||||
@@ -53,7 +53,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for BSDi
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*/
|
||||
#define SDL_PLATFORM_BSDI 1
|
||||
#endif
|
||||
@@ -63,7 +63,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for FreeBSD.
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*/
|
||||
#define SDL_PLATFORM_FREEBSD 1
|
||||
#endif
|
||||
@@ -73,7 +73,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for HP-UX.
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*/
|
||||
#define SDL_PLATFORM_HPUX 1
|
||||
#endif
|
||||
@@ -83,7 +83,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for IRIX.
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*/
|
||||
#define SDL_PLATFORM_IRIX 1
|
||||
#endif
|
||||
@@ -96,7 +96,7 @@
|
||||
* Note that Android, although ostensibly a Linux-based system, will not
|
||||
* define this. It defines SDL_PLATFORM_ANDROID instead.
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*/
|
||||
#define SDL_PLATFORM_LINUX 1
|
||||
#endif
|
||||
@@ -106,7 +106,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for Android.
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*/
|
||||
#define SDL_PLATFORM_ANDROID 1
|
||||
#undef SDL_PLATFORM_LINUX
|
||||
@@ -121,7 +121,7 @@
|
||||
* Other platforms, like Linux, might define this in addition to their primary
|
||||
* define.
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*/
|
||||
#define SDL_PLATFORM_UNIX 1
|
||||
#endif
|
||||
@@ -133,7 +133,7 @@
|
||||
*
|
||||
* iOS, macOS, etc will additionally define a more specific platform macro.
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*
|
||||
* \sa SDL_PLATFORM_MACOS
|
||||
* \sa SDL_PLATFORM_IOS
|
||||
@@ -180,7 +180,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for tvOS.
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*
|
||||
* \sa SDL_PLATFORM_APPLE
|
||||
*/
|
||||
@@ -192,7 +192,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for VisionOS.
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*
|
||||
* \sa SDL_PLATFORM_APPLE
|
||||
*/
|
||||
@@ -204,7 +204,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for iOS.
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*
|
||||
* \sa SDL_PLATFORM_APPLE
|
||||
*/
|
||||
@@ -215,7 +215,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for macOS.
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*
|
||||
* \sa SDL_PLATFORM_APPLE
|
||||
*/
|
||||
@@ -232,7 +232,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for Emscripten.
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*/
|
||||
#define SDL_PLATFORM_EMSCRIPTEN 1
|
||||
#endif
|
||||
@@ -242,7 +242,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for NetBSD.
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*/
|
||||
#define SDL_PLATFORM_NETBSD 1
|
||||
#endif
|
||||
@@ -252,7 +252,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for OpenBSD.
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*/
|
||||
#define SDL_PLATFORM_OPENBSD 1
|
||||
#endif
|
||||
@@ -262,7 +262,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for OS/2.
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*/
|
||||
#define SDL_PLATFORM_OS2 1
|
||||
#endif
|
||||
@@ -272,7 +272,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for Tru64 (OSF/1).
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*/
|
||||
#define SDL_PLATFORM_OSF 1
|
||||
#endif
|
||||
@@ -282,7 +282,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for QNX Neutrino.
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*/
|
||||
#define SDL_PLATFORM_QNXNTO 1
|
||||
#endif
|
||||
@@ -292,7 +292,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for RISC OS.
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*/
|
||||
#define SDL_PLATFORM_RISCOS 1
|
||||
#endif
|
||||
@@ -302,7 +302,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for SunOS/Solaris.
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*/
|
||||
#define SDL_PLATFORM_SOLARIS 1
|
||||
#endif
|
||||
@@ -312,7 +312,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for Cygwin.
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*/
|
||||
#define SDL_PLATFORM_CYGWIN 1
|
||||
#endif
|
||||
@@ -325,7 +325,7 @@
|
||||
* This also covers several other platforms, like Microsoft GDK, Xbox, WinRT,
|
||||
* etc. Each will have their own more-specific platform macros, too.
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*
|
||||
* \sa SDL_PLATFORM_WIN32
|
||||
* \sa SDL_PLATFORM_XBOXONE
|
||||
@@ -362,7 +362,7 @@
|
||||
/**
|
||||
* A preprocessor macro that defined to 1 if compiling for Windows Phone.
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*/
|
||||
#define SDL_WINAPI_FAMILY_PHONE (WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP)
|
||||
|
||||
@@ -381,7 +381,7 @@
|
||||
* A preprocessor macro that is only defined if compiling for Microsoft GDK
|
||||
* for Windows.
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*/
|
||||
#define SDL_PLATFORM_WINGDK 1
|
||||
|
||||
@@ -390,7 +390,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for Xbox One.
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*/
|
||||
#define SDL_PLATFORM_XBOXONE 1
|
||||
|
||||
@@ -399,7 +399,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for Xbox Series.
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*/
|
||||
#define SDL_PLATFORM_XBOXSERIES 1
|
||||
|
||||
@@ -412,7 +412,7 @@
|
||||
* convention, its system layer tends to still be referred to as "the Win32
|
||||
* API."
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*/
|
||||
#define SDL_PLATFORM_WIN32 1
|
||||
|
||||
@@ -427,7 +427,7 @@
|
||||
* A preprocessor macro that is only defined if compiling for Microsoft GDK on
|
||||
* any platform.
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*/
|
||||
#define SDL_PLATFORM_GDK 1
|
||||
#endif
|
||||
@@ -437,7 +437,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for Sony PSP.
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*/
|
||||
#define SDL_PLATFORM_PSP 1
|
||||
#endif
|
||||
@@ -448,7 +448,7 @@
|
||||
* A preprocessor macro that is only defined if compiling for Sony PlayStation
|
||||
* 2.
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*/
|
||||
#define SDL_PLATFORM_PS2 1
|
||||
#endif
|
||||
@@ -458,7 +458,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for Sony Vita.
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*/
|
||||
#define SDL_PLATFORM_VITA 1
|
||||
#endif
|
||||
@@ -468,7 +468,7 @@
|
||||
/**
|
||||
* A preprocessor macro that is only defined if compiling for Nintendo 3DS.
|
||||
*
|
||||
* \since This macro is available since SDL 3.1.3.
|
||||
* \since This macro is available since SDL 3.2.0.
|
||||
*/
|
||||
#define SDL_PLATFORM_3DS 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user