summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/stdint.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-10-25 07:13:49 +0200
committerCorinna Vinschen <corinna@vinschen.de>2016-10-25 16:24:05 +0200
commitb1f321538097ee4fac334acf7794d502d6d371fa (patch)
tree748868c3502b50a2379d983a9f0b70b17909a110 /newlib/libc/include/stdint.h
parent4e91600796e9c347d8eb84bf37da7fb20f8503d2 (diff)
downloadcygnal-b1f321538097ee4fac334acf7794d502d6d371fa.tar.gz
cygnal-b1f321538097ee4fac334acf7794d502d6d371fa.tar.bz2
cygnal-b1f321538097ee4fac334acf7794d502d6d371fa.zip
Provide __intmax_t and __uintmax_t
Provide __intmax_t and __uintmax_t via <machine/_default_types.h> and define intmax_t and uintmax_t in <sys/_stdint.h> for FreeBSD compatibility. Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
Diffstat (limited to 'newlib/libc/include/stdint.h')
-rw-r--r--newlib/libc/include/stdint.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/newlib/libc/include/stdint.h b/newlib/libc/include/stdint.h
index bd65cd0e0..4abdacb9f 100644
--- a/newlib/libc/include/stdint.h
+++ b/newlib/libc/include/stdint.h
@@ -124,25 +124,6 @@ typedef __uint_least64_t uint_least64_t;
#endif
#endif
-/* Greatest-width integer types */
-/* Modern GCCs provide __INTMAX_TYPE__ */
-#if defined(__INTMAX_TYPE__)
- typedef __INTMAX_TYPE__ intmax_t;
-#elif __have_longlong64
- typedef signed long long intmax_t;
-#else
- typedef signed long intmax_t;
-#endif
-
-/* Modern GCCs provide __UINTMAX_TYPE__ */
-#if defined(__UINTMAX_TYPE__)
- typedef __UINTMAX_TYPE__ uintmax_t;
-#elif __have_longlong64
- typedef unsigned long long uintmax_t;
-#else
- typedef unsigned long uintmax_t;
-#endif
-
#ifdef __INTPTR_TYPE__
#define INTPTR_MIN (-__INTPTR_MAX__ - 1)
#define INTPTR_MAX (__INTPTR_MAX__)