From 05d4036aa0f7fd48a99964cefa3543be55df29eb Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Tue, 9 Feb 2016 05:59:59 -0500 Subject: GlobalMemoryStatusEx is on XP GH #419 --- src/lib/entropy/win32_stats/es_win32.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/entropy/win32_stats/es_win32.cpp b/src/lib/entropy/win32_stats/es_win32.cpp index 909db093c..7cb0988db 100644 --- a/src/lib/entropy/win32_stats/es_win32.cpp +++ b/src/lib/entropy/win32_stats/es_win32.cpp @@ -32,8 +32,8 @@ void Win32_EntropySource::poll(Entropy_Accumulator& accum) GetSystemInfo(&sys_info); accum.add(sys_info, BOTAN_ENTROPY_ESTIMATE_STATIC_SYSTEM_DATA); - MEMORYSTATUS mem_info; - GlobalMemoryStatus(&mem_info); + MEMORYSTATUSEX mem_info; + GlobalMemoryStatusEx(&mem_info); accum.add(mem_info, BOTAN_ENTROPY_ESTIMATE_SYSTEM_DATA); POINT point; -- cgit v1.2.3