summaryrefslogtreecommitdiff
path: root/builtin/stdint.h
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/stdint.h')
-rw-r--r--builtin/stdint.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/builtin/stdint.h b/builtin/stdint.h
index cc1cec9ec8..3568bf0321 100644
--- a/builtin/stdint.h
+++ b/builtin/stdint.h
@@ -44,6 +44,10 @@ typedef uint8_t uint_least8_t;
#define INT32_MAX (2147483647U)
#endif
+#ifndef UINT64_MAX
+#define UINT64_MAX (18446744073709551615ULL)
+#endif
+
#ifndef UINT64_C
#define UINT64_C(c) c ## ULL
#endif