Skip to content

Commit

Permalink
Make endian.h usable for assembler
Browse files Browse the repository at this point in the history
  • Loading branch information
Chung-Lin Tang authored and Andreas Jaeger committed Jun 15, 2012
1 parent 929cc14 commit 36d54b7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
2 changes: 1 addition & 1 deletion string/endian.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
#endif


#ifdef __USE_BSD
#if defined __USE_BSD && !defined __ASSEMBLER__
/* Conversion interfaces. */
# include <bits/byteswap.h>

Expand Down

0 comments on commit 36d54b7

Please sign in to comment.