aboutsummaryrefslogtreecommitdiff
path: root/intl
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-04-09 21:07:26 +0000
committerUlrich Drepper <drepper@redhat.com>1998-04-09 21:07:26 +0000
commitc3d6c951998a1687ad462bdd5e9bcbb691e1db8a (patch)
treef68ed102140421bee9eacef406ee1d4fd4d18346 /intl
parentff44f2a57a9442d86e7c40975a3cd45a3ff7de72 (diff)
downloadglibc-c3d6c951998a1687ad462bdd5e9bcbb691e1db8a.zip
glibc-c3d6c951998a1687ad462bdd5e9bcbb691e1db8a.tar.gz
glibc-c3d6c951998a1687ad462bdd5e9bcbb691e1db8a.tar.bz2
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')
-rw-r--r--intl/gettextP.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/intl/gettextP.h b/intl/gettextP.h
index fd2547b..bcbe272 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