summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC
diff options
context:
space:
mode:
authorGunnar Beutner <gunnar@beutner.name>2021-04-14 03:03:56 +0200
committerAndreas Kling <kling@serenityos.org>2021-04-14 13:13:06 +0200
commitdce57cd085fa4a135e50b85e26636c4cd587ab11 (patch)
tree15d47f9b7e6b44787967f697997f98f7bf0cca60 /Userland/Libraries/LibC
parent1946a4bee66f2061192e51caf9cb49a3ebda5211 (diff)
downloadserenity-dce57cd085fa4a135e50b85e26636c4cd587ab11.zip
LibC: Add definitions for INTMAX_C and UINTMAX_C
Diffstat (limited to 'Userland/Libraries/LibC')
-rw-r--r--Userland/Libraries/LibC/bits/stdint.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Libraries/LibC/bits/stdint.h b/Userland/Libraries/LibC/bits/stdint.h
index 73eb81f786..53e1c82f9b 100644
--- a/Userland/Libraries/LibC/bits/stdint.h
+++ b/Userland/Libraries/LibC/bits/stdint.h
@@ -138,6 +138,9 @@ typedef __INTMAX_TYPE__ intmax_t;
#define INT64_C(x) x##LL
#define UINT64_C(x) x##ULL
+#define INTMAX_C(c) c##LL
+#define UINTMAX_C(c) c##ULL
+
#define SIZE_MAX ((size_t)-1)
__END_DECLS