about summary refs log tree commit diff
path: root/sysdeps/or1k/bits/endianness.h
blob: 7b61d8adb7ca591d1f6d4472d1ee8e240921810b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#ifndef _BITS_ENDIANNESS_H
#define _BITS_ENDIANNESS_H 1

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

/* OpenRISC is big-endian.  */
#define __BYTE_ORDER __BIG_ENDIAN

#endif /* bits/endianness.h */