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