Get the name of the platform.
const char * SDL_GetPlatform (void);
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 2.0.0.