From 4e9ac1ac20c243d8cdccc2a4941f16e09951454b Mon Sep 17 00:00:00 2001 From: cyan Date: Sun, 3 Nov 2024 08:59:22 +0000 Subject: [PATCH 2/7] fix mingw build issues --- src/common/callstack_helper.cpp | 2 +- src/crypto/ecrypt-config.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/callstack_helper.cpp b/src/common/callstack_helper.cpp index 939dc929..b6614949 100644 --- a/src/common/callstack_helper.cpp +++ b/src/common/callstack_helper.cpp @@ -9,7 +9,7 @@ #define NOMINMAX #endif #include -#include +#include #pragma comment(lib, "psapi.lib") #pragma comment(lib, "dbghelp.lib") diff --git a/src/crypto/ecrypt-config.h b/src/crypto/ecrypt-config.h index 9176de17..8b488135 100644 --- a/src/crypto/ecrypt-config.h +++ b/src/crypto/ecrypt-config.h @@ -257,7 +257,7 @@ #ifdef _UI64_MAX -#if (_UI64_MAX / 0xFFFFFFFFui64 > 0xFFFFFFFFui64) +#if (_UI64_MAX / 0xFFFFFFFF > 0xFFFFFFFF) #ifndef I64T #define I64T __int64 #define U64C(v) (v##ui64) -- 2.51.0