From 865b01c8124b79ace6fafa44d9890dcdd25dda3f Mon Sep 17 00:00:00 2001 From: Lephenixnoir Date: Thu, 20 May 2021 23:19:40 +0200 Subject: [PATCH] math, fenv, complex: use OpenLibm unconditionally This won't build on vhex-x86 but that can be left for another time. The previous approach did not work because the __SUPPORT flags are not defined when interfacing the library. --- include/complex.h | 4 +--- include/fenv.h | 4 +--- include/math.h | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/include/complex.h b/include/complex.h index 986bf49..fe41eaf 100644 --- a/include/complex.h +++ b/include/complex.h @@ -1,4 +1,2 @@ /* On SuperH, we use a port of OpenLibm. */ -#ifdef __SUPPORT_ARCH_SH -# include -#endif +#include diff --git a/include/fenv.h b/include/fenv.h index 946e414..b545e35 100644 --- a/include/fenv.h +++ b/include/fenv.h @@ -1,4 +1,2 @@ /* On SuperH, we use a port of OpenLibm. */ -#ifdef __SUPPORT_ARCH_SH -# include -#endif +#include diff --git a/include/math.h b/include/math.h index b076298..f91cfed 100644 --- a/include/math.h +++ b/include/math.h @@ -1,4 +1,2 @@ /* On SuperH, we use a port of OpenLibm. */ -#ifdef __SUPPORT_ARCH_SH -# include -#endif +#include