1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 17:06:37 +02:00

Fixed part of the Windows build.

The SQL modules still don't build due to some weird VS bug... will fix it later.
This commit is contained in:
Adam
2010-08-16 23:33:03 -04:00
parent 5fb10d27de
commit 2575008baa
+2 -2
View File
@@ -1002,7 +1002,7 @@ Anope::string GetWindowsVersion()
ZeroMemory(&si, sizeof(SYSTEM_INFO));
osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFOEX);
BOOL bOsVersionInfoEx = GetVersionEx(reinterpret_cast<OSVERSIONINFO *>(&osvi))
BOOL bOsVersionInfoEx = GetVersionEx(reinterpret_cast<OSVERSIONINFO *>(&osvi));
if (!bOsVersionInfoEx)
{
osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
@@ -1109,7 +1109,7 @@ bool SupportedWindowsVersion()
ZeroMemory(&osvi, sizeof(OSVERSIONINFOEX));
osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFOEX);
BOOL bOsVersionInfoEx = GetVersionEx(reinterpret_cast<OSVERSIONINFO *>(&osvi))
BOOL bOsVersionInfoEx = GetVersionEx(reinterpret_cast<OSVERSIONINFO *>(&osvi));
if (!bOsVersionInfoEx)
{
osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);