From 2422d25f9e794ffb4a539bdbaca6bc39377bb7a5 Mon Sep 17 00:00:00 2001 From: Bailey Cosier Date: Sun, 17 Sep 2017 14:10:51 +0700 Subject: [PATCH] Remove c++ style inline keyword for support on older MSVC compilers --- src/wgl_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wgl_context.c b/src/wgl_context.c index 1be457209..5c5d90bd7 100644 --- a/src/wgl_context.c +++ b/src/wgl_context.c @@ -511,7 +511,7 @@ void _glfwTerminateWGL(void) // Reliably check windows version as done in VersionHelpers.h // needed for transparent window -static inline GLFWbool +static GLFWbool isWindowsVersionOrGreater(WORD wMajorVersion, WORD wMinorVersion, WORD wServicePackMajor) { OSVERSIONINFOEXW osvi = { sizeof(osvi), 0, 0, 0, 0,{ 0 }, 0, 0 };