]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Make endian.h usable for assembler
authorChung-Lin Tang <cltang@codesourcery.com>
Fri, 15 Jun 2012 19:19:12 +0000 (21:19 +0200)
committerAndreas Jaeger <aj@suse.de>
Fri, 15 Jun 2012 19:19:12 +0000 (21:19 +0200)
ChangeLog
string/endian.h

index f066a88491bd9636973779737cc31a91b52bd971..dd8fcc4cfcae37a55fadc191acf92b37bd400328 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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]
index 0c293f6379bc960c7ff92f67cf808be500aabad6..51084f1e9c676ef694a92d5c47afef82504a489e 100644 (file)
@@ -55,7 +55,7 @@
 #endif
 
 
-#ifdef __USE_BSD
+#if defined __USE_BSD && !defined __ASSEMBLER__
 /* Conversion interfaces.  */
 # include <bits/byteswap.h>