Skip to content

Commit fa19e63

Browse files
committed
machine/riscv: Use __riscv_flen instead of __riscv_f
__riscv_f is an old symbol which isn't the standard name and isn't available in all toolchains. Signed-off-by: Keith Packard <[email protected]>
1 parent 909e436 commit fa19e63

File tree

1 file changed

+1
-1
lines changed
  • newlib/libc/machine/riscv/sys

1 file changed

+1
-1
lines changed

newlib/libc/machine/riscv/sys/fenv.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
#include <stddef.h>
1616

17-
#if defined(__riscv_f) || defined(__riscv_zfinx)
17+
#if defined(__riscv_flen) || defined(__riscv_zfinx)
1818

1919
/* Per "The RISC-V Instruction Set Manual: Volume I: User-Level ISA:
2020
* Version 2.1", Section 8.2, "Floating-Point Control and Status

0 commit comments

Comments
 (0)