mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-29 22:48:30 +00:00
Improve support for private platforms (#11220)
This commit is contained in:
@@ -662,7 +662,9 @@ const char *SDL_GetRevision(void)
|
||||
// Get the name of the platform
|
||||
const char *SDL_GetPlatform(void)
|
||||
{
|
||||
#if defined(SDL_PLATFORM_AIX)
|
||||
#if defined(SDL_PLATFORM_PRIVATE)
|
||||
return SDL_PLATFORM_PRIVATE_NAME;
|
||||
#elif defined(SDL_PLATFORM_AIX)
|
||||
return "AIX";
|
||||
#elif defined(SDL_PLATFORM_ANDROID)
|
||||
return "Android";
|
||||
|
Reference in New Issue
Block a user