mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 23:10:06 +00:00
13 lines
306 B
C
13 lines
306 B
C
/* The Nios II architecture has selectable endianness. */
|
|
|
|
#ifndef _ENDIAN_H
|
|
# error "Never use <bits/endian.h> directly; include <endian.h> instead."
|
|
#endif
|
|
|
|
#ifdef __nios2_big_endian__
|
|
# define __BYTE_ORDER __BIG_ENDIAN
|
|
#endif
|
|
#ifdef __nios2_little_endian__
|
|
# define __BYTE_ORDER __LITTLE_ENDIAN
|
|
#endif
|