We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents da010ea + 8a1457c commit 7cf4c6bCopy full SHA for 7cf4c6b
test/Inputs/clang-importer-sdk/usr/include/macros.h
@@ -12,7 +12,13 @@
12
#define EOF (-1)
13
#define UINT32_MAX 0xFFFFFFFFU
14
#define INT64_MAX 0x7FFFFFFFFFFFFFFFLL
15
+#if defined(_WIN32)
16
+// MSVC compatibility will always return a signed value when the suffix is `LL`
17
+// or `i64` and other targets will promote it to an unsigned type.
18
+#define UINT64_MAX 0xFFFFFFFFFFFFFFFFULL
19
+#else
20
#define UINT64_MAX 0xFFFFFFFFFFFFFFFFLL
21
+#endif
22
#define MINUS_THREE -3
23
#define true 1
24
#define false 0
0 commit comments