mirror of
https://github.com/glfw/glfw.git
synced 2025-10-05 06:06:36 +00:00
Remove c++ style inline keyword for support on older MSVC compilers
This commit is contained in:
parent
4c4174b733
commit
2422d25f9e
@ -511,7 +511,7 @@ void _glfwTerminateWGL(void)
|
|||||||
|
|
||||||
// Reliably check windows version as done in VersionHelpers.h
|
// Reliably check windows version as done in VersionHelpers.h
|
||||||
// needed for transparent window
|
// needed for transparent window
|
||||||
static inline GLFWbool
|
static GLFWbool
|
||||||
isWindowsVersionOrGreater(WORD wMajorVersion, WORD wMinorVersion, WORD wServicePackMajor)
|
isWindowsVersionOrGreater(WORD wMajorVersion, WORD wMinorVersion, WORD wServicePackMajor)
|
||||||
{
|
{
|
||||||
OSVERSIONINFOEXW osvi = { sizeof(osvi), 0, 0, 0, 0,{ 0 }, 0, 0 };
|
OSVERSIONINFOEXW osvi = { sizeof(osvi), 0, 0, 0, 0,{ 0 }, 0, 0 };
|
||||||
|
Loading…
Reference in New Issue
Block a user