diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-04-09 21:07:26 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-04-09 21:07:26 +0000 |
commit | c3d6c951998a1687ad462bdd5e9bcbb691e1db8a (patch) | |
tree | f68ed102140421bee9eacef406ee1d4fd4d18346 /intl/gettextP.h | |
parent | ff44f2a57a9442d86e7c40975a3cd45a3ff7de72 (diff) | |
download | glibc-c3d6c951998a1687ad462bdd5e9bcbb691e1db8a.tar glibc-c3d6c951998a1687ad462bdd5e9bcbb691e1db8a.tar.gz glibc-c3d6c951998a1687ad462bdd5e9bcbb691e1db8a.tar.bz2 glibc-c3d6c951998a1687ad462bdd5e9bcbb691e1db8a.zip |
Update.
* stdlib/strtof_l.c: Declare ____strtoull_l_internal.
* stdlib/strtod_l.c: Likewise.
* stdlib/strtold_l.c: Likewise.
* intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
Diffstat (limited to 'intl/gettextP.h')
-rw-r--r-- | intl/gettextP.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/intl/gettextP.h b/intl/gettextP.h index fd2547b2c7..bcbe2720a7 100644 --- a/intl/gettextP.h +++ b/intl/gettextP.h @@ -41,6 +41,10 @@ #endif +#ifdef _LIBC +# include <byteswap.h> +# define SWAP(i) bswap_32 (i) +#else static nls_uint32 SWAP PARAMS ((nls_uint32 i)); static inline nls_uint32 @@ -49,6 +53,7 @@ SWAP (i) { return (i << 24) | ((i & 0xff00) << 8) | ((i >> 8) & 0xff00) | (i >> 24); } +#endif struct loaded_domain |