mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 23:10:06 +00:00
14 lines
343 B
C
14 lines
343 B
C
|
/* SH is bi-endian but with a big-endian FPU. */
|
||
|
|
||
|
#ifndef _ENDIAN_H
|
||
|
# error "Never use <bits/endian.h> directly; include <endian.h> instead."
|
||
|
#endif
|
||
|
|
||
|
#ifdef __LITTLE_ENDIAN__
|
||
|
#define __BYTE_ORDER __LITTLE_ENDIAN
|
||
|
#define __FLOAT_WORD_ORDER __LITTLE_ENDIAN
|
||
|
#else
|
||
|
#define __BYTE_ORDER __BIG_ENDIAN
|
||
|
#define __FLOAT_WORD_ORDER __BIG_ENDIAN
|
||
|
#endif
|