Get the name of the platform.
Defined in <SDL3/SDL_platform.h>
const char * SDL_GetPlatform(void);
(const char *) Returns the name of the platform. If the correct platform name is not available, returns a string beginning with the text "Unknown".
Here are the names returned for some (but not all) supported platforms:
This function is available since SDL 3.1.3.