ubuntu-buildroot/output/build/glibc-2.36-81-g4f4d7a13edfd.../sysdeps/powerpc/bits/endianness.h

17 lines
433 B
C
Raw Normal View History

2024-04-01 15:19:46 +00:00
#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
/* PowerPC has selectable endianness. */
#if defined __BIG_ENDIAN__ || defined _BIG_ENDIAN
# define __BYTE_ORDER __BIG_ENDIAN
#endif
#if defined __LITTLE_ENDIAN__ || defined _LITTLE_ENDIAN
# define __BYTE_ORDER __LITTLE_ENDIAN
#endif
#endif /* bits/endianness.h */