summaryrefslogtreecommitdiff
path: root/string
diff options
context:
space:
mode:
authorChung-Lin Tang <cltang@codesourcery.com>2012-06-15 21:19:12 +0200
committerAndreas Jaeger <aj@suse.de>2012-06-15 21:19:12 +0200
commit36d54b744e269291d766e581623b0e349e67d7f0 (patch)
tree0828186839fb3e9bc4e903d48a2baea230a30e8a /string
parent929cc14e20cf7666db1042bed47ba0b634b66546 (diff)
Make endian.h usable for assembler
Diffstat (limited to 'string')
-rw-r--r--string/endian.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/string/endian.h b/string/endian.h
index 0c293f6379..51084f1e9c 100644
--- a/string/endian.h
+++ b/string/endian.h
@@ -55,7 +55,7 @@
#endif
-#ifdef __USE_BSD
+#if defined __USE_BSD && !defined __ASSEMBLER__
/* Conversion interfaces. */
# include <bits/byteswap.h>