1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

* string/endian.h: Define new fixed-size hto* and *toh macros only

is __USE_BSD.
This commit is contained in:
Ulrich Drepper
2008-05-21 23:39:35 +00:00
parent d8e763c60e
commit e92799fc45
2 changed files with 32 additions and 27 deletions

View File

@ -1,5 +1,8 @@
2008-05-21 Ulrich Drepper <drepper@redhat.com> 2008-05-21 Ulrich Drepper <drepper@redhat.com>
* string/endian.h: Define new fixed-size hto* and *toh macros only
is __USE_BSD.
* iconvdata/Depend: Add localedata. * iconvdata/Depend: Add localedata.
2008-05-21 Samuel Thibault <samuel.thibault@ens-lyon.org> 2008-05-21 Samuel Thibault <samuel.thibault@ens-lyon.org>

View File

@ -56,6 +56,7 @@
#endif #endif
#ifdef __USE_BSD
/* Conversion interfaces. */ /* Conversion interfaces. */
# include <bits/byteswap.h> # include <bits/byteswap.h>
@ -90,5 +91,6 @@
# define be64toh(x) (x) # define be64toh(x) (x)
# define le64toh(x) __bswap_64 (x) # define le64toh(x) __bswap_64 (x)
# endif # endif
#endif
#endif /* endian.h */ #endif /* endian.h */