about summary refs log tree commit diff
path: root/sysdeps/arc/bits/endian.h
blob: 46f41e3cffe604072cf197849dc46a9d6ceaf781 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
/* Although ARC CPU can do BE, it is not supported.  */

#ifndef _ENDIAN_H
# error "Never use <bits/endian.h> directly; include <endian.h> instead."
#endif

#ifdef __LITTLE_ENDIAN__
# define __BYTE_ORDER __LITTLE_ENDIAN
#endif
#ifdef __BIG_ENDIAN__
# error "Big Endian NOt supported on ARC"
#endif