summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/include/ansi.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sparc64/include/ansi.h')
-rw-r--r--sys/sparc64/include/ansi.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/sys/sparc64/include/ansi.h b/sys/sparc64/include/ansi.h
index c170a7b..df04532 100644
--- a/sys/sparc64/include/ansi.h
+++ b/sys/sparc64/include/ansi.h
@@ -133,6 +133,40 @@ typedef unsigned long __uint64_t;
typedef long __intptr_t;
typedef unsigned long __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 long __int_least64_t;
+typedef unsigned long __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 long __int_fast64_t;
+typedef unsigned long __uint_fast64_t;
+
+typedef long __intmax_t;
+typedef unsigned long __uintmax_t;
+
+#define __INT8_C(c) (c)
+#define __INT16_C(c) (c)
+#define __INT32_C(c) (c)
+#define __INT64_C(c) (c ## L)
+
+#define __UINT8_C(c) (c)
+#define __UINT16_C(c) (c)
+#define __UINT32_C(c) (c ## U)
+#define __UINT64_C(c) (c ## UL)
+
+#define __INTMAX_C(c) (c ## L)
+#define __UINTMAX_C(c) (c ## UL)
+
/*
* 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