Applied patch [ 1195797 ] Fixes to compile on Win64

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2005-05-22 12:10:55 +00:00
parent 921c65ed3d
commit 106d80ad37
8 changed files with 21 additions and 15 deletions

View File

@@ -1045,9 +1045,9 @@ wxMemorySize wxGetFreeMemory()
{
#if defined(__WIN64__)
MEMORYSTATUSEX memStatex;
statex.dwLength = sizeof (statex);
::GlobalMemoryStatusEx (&statex);
return (wxMemorySize)memStatus.ullAvailPhys;
memStatex.dwLength = sizeof (memStatex);
::GlobalMemoryStatusEx (&memStatex);
return (wxMemorySize)memStatex.ullAvailPhys;
#else /* if defined(__WIN32__) */
MEMORYSTATUS memStatus;
memStatus.dwLength = sizeof(MEMORYSTATUS);