blob: b4d346fb7b2be8b0a36f0379d6e873e6b4f88cbb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
From 4e9ac1ac20c243d8cdccc2a4941f16e09951454b Mon Sep 17 00:00:00 2001
From: cyan <cyjan@mrcyjanek.net>
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 <windows.h>
-#include <Psapi.h>
+#include <psapi.h>
#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
|