aarch64: add hwcap header file
[uclibc-ng.git] / libc / sysdeps / linux / common / bits / endian.h
blob0086a1cd4bfe03e092bfa000f0d56210612df7f9
1 /* This file should define __BYTE_ORDER as appropriate for the machine
2 in question. See string/endian.h for how to define it.
4 If only the stub bits/endian.h applies to a particular configuration,
5 bytesex.h is generated by running a program on the host machine.
6 So if cross-compiling to a machine with a different byte order,
7 the bits/endian.h file for that machine must exist. */
9 #ifndef _ENDIAN_H
10 # error "Never use <bits/endian.h> directly; include <endian.h> instead."
11 #endif
13 #error Machine byte order unknown.
15 #if 0
16 #define __BYTE_ORDER __BIG_ENDIAN
17 #define __BYTE_ORDER __LITTLE_ENDIAN
18 #endif