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…
Reference in New Issue