mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-02 04:20:28 +08:00
Set __IEEE_BIG_ENDIAN for big endian RISC-V
This commit is contained in:
parent
6c78e051c0
commit
653198d861
@ -199,7 +199,11 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __riscv
|
#ifdef __riscv
|
||||||
|
#if defined(__BYTE_ORDER__) && (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__)
|
||||||
|
#define __IEEE_BIG_ENDIAN
|
||||||
|
#else
|
||||||
#define __IEEE_LITTLE_ENDIAN
|
#define __IEEE_LITTLE_ENDIAN
|
||||||
|
#endif
|
||||||
#ifdef __riscv_flen
|
#ifdef __riscv_flen
|
||||||
# define _SUPPORTS_ERREXCEPT
|
# define _SUPPORTS_ERREXCEPT
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user