Skip to content

Commit b74ba62

Browse files
committed
Xbox buildfix for IsWindowsBuildVersionAtLeast
1 parent 9369a34 commit b74ba62

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/core/windows/SDL_windows.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,11 @@ static BOOL IsWindowsBuildVersionAtLeast(DWORD dwBuildNumber)
311311
WIN_BuildNumber = (os_info.dwBuildNumber & ~0xF0000000);
312312
return (WIN_BuildNumber >= dwBuildNumber);
313313
}
314+
#else
315+
static BOOL IsWindowsBuildVersionAtLeast(DWORD dwBuildNumber)
316+
{
317+
return TRUE;
318+
}
314319
#endif
315320

316321
// apply some static variables so we only call into the Win32 API once per process for each check.

0 commit comments

Comments
 (0)