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
No known key found for this signature in database
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>