initial commit
[glibc.git] / sysdeps / arc / bits / endianness.h
1 #ifndef _BITS_ENDIANNESS_H
2 #define _BITS_ENDIANNESS_H 1
3
4 #ifndef _BITS_ENDIAN_H
5 # error "Never use <bits/endian.h> directly; include <endian.h> instead."
6 #endif
7
8 /* ARC has selectable endianness. */
9 #ifdef __BIG_ENDIAN__
10 # define __BYTE_ORDER __BIG_ENDIAN
11 #else
12 # define __BYTE_ORDER __LITTLE_ENDIAN
13 #endif
14
15 #endif /* bits/endianness.h */