glibc/sysdeps/or1k/bits/endianness.h
Stafford Horne 6e5964311d or1k: ABI Implementation
This code deals with the OpenRISC ABI.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2022-01-05 06:40:05 +09:00

12 lines
263 B
C

#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 */