Restore "version.lib" pragma for os.getversion

I'm not sure why this is still needed, since "version" has also been added to the `premake5.lua` config for Windows builds. But it's failing the CI builds, so restoring for now.
This commit is contained in:
Jason Perkins 2020-03-30 18:06:48 -04:00 committed by starkos
parent ac874b91a4
commit 19034686aa

View File

@ -55,6 +55,8 @@ int os_getversion(lua_State* L)
#if defined(PLATFORM_WINDOWS)
#pragma comment(lib, "version.lib")
int getKernelVersion(struct OsVersionInfo* info)
{
DWORD size = GetFileVersionInfoSizeA("kernel32.dll", NULL);