diff --git a/source/Irrlicht/CIrrDeviceWin32.cpp b/source/Irrlicht/CIrrDeviceWin32.cpp index 2ef6f012..7eae8e20 100644 --- a/source/Irrlicht/CIrrDeviceWin32.cpp +++ b/source/Irrlicht/CIrrDeviceWin32.cpp @@ -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 ) {