Compare commits

..

1 Commits

Author SHA1 Message Date
William Bell
f9f8ca08c6 fix bug for windows 2025-08-16 00:50:23 +01:00

View File

@@ -16,8 +16,9 @@
#include <string.h> #include <string.h>
#if defined(_WIN32) #if defined(_WIN32)
#include <psapi.h> #define _WIN32_WINNT 0x0602
#include <windows.h> #include <windows.h>
#include <psapi.h>
double get_memory_usage_mb() { double get_memory_usage_mb() {
PROCESS_MEMORY_COUNTERS pmc; PROCESS_MEMORY_COUNTERS pmc;