kernel32: Fix build on newer Mac OS X.

This commit is contained in:
Ken Thomases 2014-02-19 16:12:11 -06:00 committed by Alexandre Julliard
parent b0b6728cf1
commit ed11dc0ba3
1 changed files with 1 additions and 1 deletions

View File

@ -1251,7 +1251,7 @@ BOOL WINAPI GlobalMemoryStatusEx( LPMEMORYSTATUSEX lpmemex )
count = HOST_VM_INFO64_COUNT;
if (host_statistics64(host, HOST_VM_INFO64, (host_info64_t)&vm_stat, &count) == KERN_SUCCESS &&
host_page_size(host, &page_size == KERN_SUCCESS))
host_page_size(host, &page_size) == KERN_SUCCESS)
lpmemex->ullAvailPhys = (vm_stat.free_count + vm_stat.inactive_count) * (DWORDLONG)page_size;
#endif
if (!total)