Renamed SDL_SANDBOX_UNKNOWN to SDL_SANDBOX_UNKNOWN_CONTAINER

This commit is contained in:
Sam Lantinga 2024-10-18 12:45:07 -07:00
parent a7da3ad59b
commit 1d23d2c3c2
2 changed files with 2 additions and 2 deletions

View File

@ -580,7 +580,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_IsTV(void);
typedef enum SDL_Sandbox
{
SDL_SANDBOX_NONE = 0,
SDL_SANDBOX_UNKNOWN,
SDL_SANDBOX_UNKNOWN_CONTAINER,
SDL_SANDBOX_FLATPAK,
SDL_SANDBOX_SNAP,
SDL_SANDBOX_MACOS

View File

@ -767,7 +767,7 @@ static SDL_Sandbox SDL_DetectSandbox(void)
}
if (access("/run/host/container-manager", F_OK) == 0) {
return SDL_SANDBOX_UNKNOWN;
return SDL_SANDBOX_UNKNOWN_CONTAINER;
}
#elif defined(SDL_PLATFORM_MACOS)