ref: 045530aed25b515d501e7502af2c42ecf66d6dd2
parent: 16b3a688c304bd94935288509af79ed39cb2a427
author: mischief <mischief@offblast.org>
date: Thu Jun 4 13:16:23 EDT 2015
ape: define long long limits
--- a/sys/include/ape/limits.h
+++ b/sys/include/ape/limits.h
@@ -9,6 +9,7 @@
#define USHRT_MAX 0xffff
#define UINT_MAX 0xffffffffU
#define ULONG_MAX 0xffffffffUL
+#define ULLONG_MAX 0xffffffffffffffffUL
#define CHAR_MAX SCHAR_MAX
#define SCHAR_MAX 0x7f
@@ -15,6 +16,7 @@
#define SHRT_MAX 0x7fff
#define INT_MAX 0x7fffffff
#define LONG_MAX 0x7fffffffL
+#define LLONG_MAX 0x7fffffffffffffffL
#define CHAR_MIN SCHAR_MIN
#define SCHAR_MIN (-SCHAR_MAX-1)
@@ -21,6 +23,7 @@
#define SHRT_MIN (-SHRT_MAX-1)
#define INT_MIN (-INT_MAX-1)
#define LONG_MIN (-LONG_MAX-1)
+#define LLONG_MIN (-LLONG_MAX-1)
#ifdef _POSIX_SOURCE