mirror of
https://github.com/minetest/irrlicht.git
synced 2024-12-24 01:30:31 +01:00
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