From f9f8ca08c6019631907163cd54f9bf670efdd379 Mon Sep 17 00:00:00 2001 From: William Bell <62452284+Ugric@users.noreply.github.com> Date: Sat, 16 Aug 2025 00:50:23 +0100 Subject: [PATCH] fix bug for windows --- src/runtime/call/call.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/runtime/call/call.c b/src/runtime/call/call.c index 9aaf948..a3da057 100644 --- a/src/runtime/call/call.c +++ b/src/runtime/call/call.c @@ -16,8 +16,9 @@ #include #if defined(_WIN32) -#include +#define _WIN32_WINNT 0x0602 #include +#include double get_memory_usage_mb() { PROCESS_MEMORY_COUNTERS pmc;