commit | a3b20f67b35e26813d02e08043db2a5d9263f255 | [log] [tgz] |
---|---|---|
author | Rich Felker <dalias@aerifal.cx> | Sun May 06 13:40:19 2012 -0400 |
committer | Rich Felker <dalias@aerifal.cx> | Sun May 06 13:40:19 2012 -0400 |
tree | d398555d5bec997dbe13314664efe508565c59e9 | |
parent | a45de0cb94b58f1b5ea4af1ca3531c56dc02c0a2 [diff] |
take byte order from gcc if gcc has defined it this only works with gcc 4.6 and later, but it allows us to support non-default endianness on archs like arm, mips, ppc, etc. that can do both without having separate header sets for both variants, and it saves one #include even on fixed-endianness archs like x86.