mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-24 21:31:46 +00:00
Revert "Use newer versionHelper API if available"
This reverts commit 0aa247dbf2
.
This commit is contained in:
parent
0aa247dbf2
commit
09403328f6
3 changed files with 0 additions and 15 deletions
|
@ -152,16 +152,11 @@ int main(int argc, char **argv)
|
|||
// XP and Vista users can't use the newest exchndl.dll
|
||||
// and older exchndl.dll won't work with release builds >= 2.1.21
|
||||
// Check for >= Version 6.1 (>= Win7)
|
||||
#if defined(_INC_VERSIONHELPERS) || defined(_versionhelpers_H_INCLUDED_)
|
||||
if (IsWindows7OrGreater())
|
||||
LoadLibraryA("exchndl.dll");
|
||||
#else
|
||||
DWORD winversion = GetVersion();
|
||||
DWORD major = (DWORD)(LOBYTE(LOWORD(winversion)));
|
||||
DWORD minor = (DWORD)(HIBYTE(LOWORD(winversion)));
|
||||
if (major > 6 || (major == 6 && minor > 0))
|
||||
LoadLibraryA("exchndl.dll");
|
||||
#endif
|
||||
}
|
||||
}
|
||||
#ifndef __MINGW32__
|
||||
|
|
|
@ -221,16 +221,11 @@ int main(int argc, char **argv)
|
|||
// XP and Vista users can't use the newest exchndl.dll
|
||||
// and older exchndl.dll won't work with release builds >= 2.1.21
|
||||
// Check for >= Version 6.1 (>= Win7)
|
||||
#if defined(_INC_VERSIONHELPERS) || defined(_versionhelpers_H_INCLUDED_)
|
||||
if (IsWindows7OrGreater())
|
||||
LoadLibraryA("exchndl.dll");
|
||||
#else
|
||||
DWORD winversion = GetVersion();
|
||||
DWORD major = (DWORD)(LOBYTE(LOWORD(winversion)));
|
||||
DWORD minor = (DWORD)(HIBYTE(LOWORD(winversion)));
|
||||
if (major > 6 || (major == 6 && minor > 0))
|
||||
LoadLibraryA("exchndl.dll");
|
||||
#endif
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -668,16 +668,11 @@ int WINAPI WinMain (HINSTANCE hInstance,
|
|||
// XP and Vista users can't use the newest exchndl.dll
|
||||
// and older exchndl.dll won't work with release builds >= 2.1.21
|
||||
// Check for >= Version 6.1 (Win7)
|
||||
#if defined(_INC_VERSIONHELPERS) || defined(_versionhelpers_H_INCLUDED_)
|
||||
if (IsWindows7OrGreater())
|
||||
LoadLibraryA("exchndl.dll");
|
||||
#else
|
||||
DWORD winversion = GetVersion();
|
||||
DWORD major = (DWORD)(LOBYTE(LOWORD(winversion)));
|
||||
DWORD minor = (DWORD)(HIBYTE(LOWORD(winversion)));
|
||||
if (major > 6 || (major == 6 && minor > 0))
|
||||
LoadLibraryA("exchndl.dll");
|
||||
#endif
|
||||
#if 0
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue