about summary refs log tree commit diff
path: root/sysdeps/loongarch/bits/endianness.h
blob: 7290be7b180fc55f93ee04db6c34c64f1469c657 (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

/* LoongArch is little-endian.  */
#define __BYTE_ORDER __LITTLE_ENDIAN

#endif /* bits/endianness.h */