From b1f321538097ee4fac334acf7794d502d6d371fa Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 25 Oct 2016 07:13:49 +0200 Subject: Provide __intmax_t and __uintmax_t Provide __intmax_t and __uintmax_t via and define intmax_t and uintmax_t in for FreeBSD compatibility. Signed-off-by: Sebastian Huber --- newlib/libc/include/stdint.h | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'newlib/libc/include/stdint.h') 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__) -- cgit v1.2.3