Make endian.h usable for assembler

This commit is contained in:
Chung-Lin Tang 2012-06-15 21:19:12 +02:00 committed by Andreas Jaeger
parent 929cc14e20
commit 36d54b744e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
* string/endian.h: Add !__ASSEMBLER__ condition for including
conversion interfaces.
2012-06-15 Joseph Myers <joseph@codesourcery.com>
[BZ #14241]

View File

@ -55,7 +55,7 @@
#endif
#ifdef __USE_BSD
#if defined __USE_BSD && !defined __ASSEMBLER__
/* Conversion interfaces. */
# include <bits/byteswap.h>