summaryrefslogtreecommitdiffstats
path: root/src/include/stdint.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/stdint.h')
-rw-r--r--src/include/stdint.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/stdint.h b/src/include/stdint.h
index 1b7328d80..64d4e5b2a 100644
--- a/src/include/stdint.h
+++ b/src/include/stdint.h
@@ -16,4 +16,9 @@ typedef unsigned long int uint64_t;
typedef uint64_t size_t;
typedef int64_t ssize_t;
+#define UINT8_MAX (255U)
+#define UINT16_MAX (65535U)
+#define UINT32_MAX (4294967295U)
+#define UINT64_MAX (18446744073709551615U)
+
#endif
OpenPOWER on IntegriCloud