Skip to content

Commit 934cb37

Browse files
committed
Fix formatter test
1 parent b0546dc commit 934cb37

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/unit/lib/formatting.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
#include "utils/microfmt.hpp"
77
#include "utils/utils.hpp"
88

9+
#include <cstdint>
10+
911
#ifdef TEST_MODULE
1012
import cpptrace;
1113
#else
@@ -17,7 +19,7 @@ using testing::ElementsAre;
1719

1820
namespace {
1921

20-
#if !defined(_WIN32) || defined(_WIN64)
22+
#if UINTPTR_MAX > 0xffffffff
2123
#define ADDR_PREFIX "00000000"
2224
#define INLINED_TAG "(inlined) "
2325
#else

0 commit comments

Comments
 (0)