2.9
[glibc/nacl-glibc.git] / sysdeps / sparc / bits / endian.h
blob8acfdf5df6f365113f34284040f855aa84d62d3a
1 /* Sparc is big-endian, but v9 supports endian conversion on loads/stores
2 and GCC supports such a mode. Be prepared. */
4 #ifndef _ENDIAN_H
5 # error "Never use <bits/endian.h> directly; include <endian.h> instead."
6 #endif
8 #ifdef __LITTLE_ENDIAN__
9 # define __BYTE_ORDER __LITTLE_ENDIAN
10 #else
11 # define __BYTE_ORDER __BIG_ENDIAN
12 #endif