mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
Fix UWP build
This commit is contained in:
parent
7751494160
commit
157ca95985
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue