diff --git a/src/pkg/runtime/stack.h b/src/pkg/runtime/stack.h index 44d5533f45..483233876a 100644 --- a/src/pkg/runtime/stack.h +++ b/src/pkg/runtime/stack.h @@ -58,7 +58,7 @@ enum { // purposes like signal handling. Used on Windows because // it does not use a separate stack. #ifdef __WINDOWS__ - StackSystem = 2048, + StackSystem = 512 * sizeof(uintptr), #else StackSystem = 0, #endif