summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/ansi.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/include/ansi.h')
-rw-r--r--sys/i386/include/ansi.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/sys/i386/include/ansi.h b/sys/i386/include/ansi.h
index 64ea12b..b1de8ae 100644
--- a/sys/i386/include/ansi.h
+++ b/sys/i386/include/ansi.h
@@ -147,6 +147,40 @@ typedef unsigned int __uint32_t;
typedef int __intptr_t;
typedef unsigned int __uintptr_t;
+typedef __signed char __int_least8_t;
+typedef unsigned char __uint_least8_t;
+typedef short __int_least16_t;
+typedef unsigned short __uint_least16_t;
+typedef int __int_least32_t;
+typedef unsigned int __uint_least32_t;
+typedef __int64_t __int_least64_t;
+typedef __uint64_t __uint_least64_t;
+
+typedef int __int_fast8_t;
+typedef unsigned int __uint_fast8_t;
+typedef int __int_fast16_t;
+typedef unsigned int __uint_fast16_t;
+typedef int __int_fast32_t;
+typedef unsigned int __uint_fast32_t;
+typedef __int64_t __int_fast64_t;
+typedef __uint64_t __uint_fast64_t;
+
+typedef __int64_t __intmax_t;
+typedef __uint64_t __uintmax_t;
+
+#define __INT8_C(c) (c)
+#define __INT16_C(c) (c)
+#define __INT32_C(c) (c)
+#define __INT64_C(c) (c ## LL)
+
+#define __UINT8_C(c) (c)
+#define __UINT16_C(c) (c)
+#define __UINT32_C(c) (c ## U)
+#define __UINT64_C(c) (c ## ULL)
+
+#define __INTMAX_C(c) (c ## LL)
+#define __UINTMAX_C(c) (c ## ULL)
+
/*
* mbstate_t is an opaque object to keep conversion state, during multibyte
* stream conversions. The content must not be referenced by user programs.
OpenPOWER on IntegriCloud