diff options
author | Jack Lloyd <[email protected]> | 2016-02-09 05:59:59 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-02-09 05:59:59 -0500 |
commit | 05d4036aa0f7fd48a99964cefa3543be55df29eb (patch) | |
tree | 5aaf4bfe87abb9e849bc32fae43536c987d24402 | |
parent | e723afc0557426439e6c64d630f84c923d153c6c (diff) |
GlobalMemoryStatusEx is on XP GH #419
-rw-r--r-- | src/lib/entropy/win32_stats/es_win32.cpp | 4 |
1 files 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; |