Browse Source

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.
master
Lephenixnoir 8 months ago
parent
commit
865b01c812
Signed by: Lephenixnoir GPG Key ID: 1BBA026E13FC0495
  1. 4
      include/complex.h
  2. 4
      include/fenv.h
  3. 4
      include/math.h

4
include/complex.h

@ -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>

4
include/fenv.h

@ -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>

4
include/math.h

@ -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>

Loading…
Cancel
Save