SDL_GetPlatform ffi call should be safe