Bläddra i källkod

Fix fenv_t initializer (#308)

Li Bohai 11 månader sedan
förälder
incheckning
c4667caea2
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. 1 1
      loongarch64/fenv.c
  2. 1 1
      riscv64/fenv.c

+ 1 - 1
loongarch64/fenv.c

@@ -1,5 +1,5 @@
 #define	__fenv_static
-#include <fenv.h>
+#include <openlibm_fenv.h>
 
 #ifdef __GNUC_GNU_INLINE__
 #error "This file must be compiled with C99 'inline' semantics"

+ 1 - 1
riscv64/fenv.c

@@ -27,7 +27,7 @@
  */
 
 #define	__fenv_static
-#include "fenv.h"
+#include <openlibm_fenv.h>
 
 #ifdef __GNUC_GNU_INLINE__
 #error "This file must be compiled with C99 'inline' semantics"