Remove Windows Vista/7 SDK requirement for compiling.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2257 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
Jake.Stine 2009-11-27 00:06:56 +00:00
parent ab010e1bc9
commit 7e2ff95a97
2 changed files with 6 additions and 1 deletions

View File

@ -48,6 +48,6 @@ wxString GetOSVersionString()
// This shoul return a single comprehensive string description for the linux operating system:
// Kernel version, distribution, etc.
return L"Linux Maybe?";
return wxGetOsDescription();
}

View File

@ -39,6 +39,11 @@ u64 GetCPUTicks()
return count.QuadPart;
}
// Windows SDK 7 provides this but previous ones do not, so roll our own in those cases:
#ifndef VER_SUITE_WH_SERVER
# define VER_SUITE_WH_SERVER 0x00008000
#endif
typedef void (WINAPI *PGNSI)(LPSYSTEM_INFO);
typedef BOOL (WINAPI *PGPI)(DWORD, DWORD, DWORD, DWORD, PDWORD);