Blame sysdeps/sh/bits/endian.h
|
Packit |
6c4009 |
/* SH is bi-endian but with a big-endian FPU. */
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
#ifndef _ENDIAN_H
|
|
Packit |
6c4009 |
# error "Never use <bits/endian.h> directly; include <endian.h> instead."
|
|
Packit |
6c4009 |
#endif
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
#ifdef __LITTLE_ENDIAN__
|
|
Packit |
6c4009 |
#define __BYTE_ORDER __LITTLE_ENDIAN
|
|
Packit |
6c4009 |
#define __FLOAT_WORD_ORDER __LITTLE_ENDIAN
|
|
Packit |
6c4009 |
#else
|
|
Packit |
6c4009 |
#define __BYTE_ORDER __BIG_ENDIAN
|
|
Packit |
6c4009 |
#define __FLOAT_WORD_ORDER __BIG_ENDIAN
|
|
Packit |
6c4009 |
#endif
|