mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-25 02:48:50 +02:00
Fix UWP build
This commit is contained in:
@@ -201,6 +201,9 @@ static BOOL IsWindowsVersionOrGreater(WORD wMajorVersion, WORD wMinorVersion, WO
|
||||
|
||||
BOOL WIN_IsWine(void)
|
||||
{
|
||||
#if defined(__WINRT__) || defined(__XBOXONE__) || defined(__XBOXSERIES__)
|
||||
return FALSE;
|
||||
#else
|
||||
static SDL_bool checked;
|
||||
static SDL_bool is_wine;
|
||||
|
||||
@@ -215,6 +218,7 @@ BOOL WIN_IsWine(void)
|
||||
checked = SDL_TRUE;
|
||||
}
|
||||
return is_wine;
|
||||
#endif
|
||||
}
|
||||
|
||||
BOOL WIN_IsWindowsVistaOrGreater(void)
|
||||
|
||||
Reference in New Issue
Block a user