forked from Mirrorlandia_minetest/irrlicht
Fix compiling on MinGW (broke in [r6394])
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6397 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
parent
66dcb86e5f
commit
ca4bbcb71f
@ -1580,7 +1580,7 @@ void CIrrDeviceWin32::getWindowsVersion(core::stringc& out)
|
||||
{
|
||||
if (osvi.dwMajorVersion == 6)
|
||||
{
|
||||
DWORD dwType = PRODUCT_UNDEFINED;
|
||||
DWORD dwType = 0; // (PRODUCT_UNDEFINED not available on MinGW)
|
||||
HMODULE hmKernel32 = GetModuleHandle(TEXT("kernel32.dll"));
|
||||
if ( hmKernel32 )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user