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.
This commit is contained in:
Lephenixnoir 2021-05-20 23:19:40 +02:00
parent 6847596bcd
commit 865b01c812
Signed by untrusted user: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
3 changed files with 3 additions and 9 deletions

View File

@ -1,4 +1,2 @@
/* On SuperH, we use a port of OpenLibm. */
#ifdef __SUPPORT_ARCH_SH
# include <openlibm_complex.h>
#endif
#include <openlibm_complex.h>

View File

@ -1,4 +1,2 @@
/* On SuperH, we use a port of OpenLibm. */
#ifdef __SUPPORT_ARCH_SH
# include <openlibm_fenv.h>
#endif
#include <openlibm_fenv.h>

View File

@ -1,4 +1,2 @@
/* On SuperH, we use a port of OpenLibm. */
#ifdef __SUPPORT_ARCH_SH
# include <openlibm_math.h>
#endif
#include <openlibm_math.h>