diff options
author | Denys Vlasenko | 2010-02-02 03:08:57 +0100 |
---|---|---|
committer | Denys Vlasenko | 2010-02-02 03:08:57 +0100 |
commit | 5b9b1365a086056e992e7868db8e49989fedcbaf (patch) | |
tree | afa6360504fab7057acb7477df353b178b250512 /include/platform.h | |
parent | 4b061461d3f5cb62a6f384d80fd5a3f6be51bd25 (diff) | |
download | busybox-5b9b1365a086056e992e7868db8e49989fedcbaf.zip busybox-5b9b1365a086056e992e7868db8e49989fedcbaf.tar.gz |
stat: get rid on intmax_t
function old new delta
print_it 225 218 -7
print_stat 919 889 -30
print_statfs 370 339 -31
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-68) Total: -68 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/platform.h')
-rw-r--r-- | include/platform.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/include/platform.h b/include/platform.h index a41daa0..c34a46e 100644 --- a/include/platform.h +++ b/include/platform.h @@ -215,6 +215,7 @@ #ifndef __APPLE__ # include <arpa/inet.h> # if !defined(__socklen_t_defined) && !defined(_SOCKLEN_T_DECLARED) +# define socklen_t bb_socklen_t typedef int socklen_t; # endif #else @@ -250,21 +251,6 @@ typedef int socklen_t; #if defined __GLIBC__ || defined __UCLIBC__ \ || defined __dietlibc__ || defined _NEWLIB_VERSION # include <features.h> -# define HAVE_FEATURES_H -# include <stdint.h> -# define HAVE_STDINT_H -#elif !defined __APPLE__ -/* Largest integral types. */ -# if BB_BIG_ENDIAN -/* Looks BROKEN! */ -typedef long intmax_t; -typedef unsigned long uintmax_t; -# else -__extension__ -typedef long long intmax_t; -__extension__ -typedef unsigned long long uintmax_t; -# endif #endif /* Size-saving "small" ints (arch-dependent) */ |