]>
git.ipfire.org Git - thirdparty/glibc.git/blob - sysdeps/sparc/bits/endianness.h
1 #ifndef _BITS_ENDIANNESS_H
2 #define _BITS_ENDIANNESS_H 1
5 # error "Never use <bits/endianness.h> directly; include <endian.h> instead."
8 /* Sparc is big-endian, but v9 supports endian conversion on loads/stores
9 and GCC supports such a mode. Be prepared. */
10 #ifdef __LITTLE_ENDIAN__
11 # define __BYTE_ORDER __LITTLE_ENDIAN
13 # define __BYTE_ORDER __BIG_ENDIAN
16 #endif /* bits/endianness.h */