Explorar el Código

Remove switch from tests to include system headers.

We can now simply use -DOPENLIBM_USE_HOST_*_H to do this.
Ed Schouten hace 10 años
padre
commit
a2afb267cf
Se han modificado 1 ficheros con 3 adiciones y 9 borrados
  1. 3 9
      test/libm-test.c

+ 3 - 9
test/libm-test.c

@@ -116,16 +116,10 @@
 #endif
 
 #include "libm-test-ulps.h"
-#ifdef SYS_MATH_H /* XXX scp XXX */
-#include <complex.h>
-#include <math.h>
 #include <float.h>
-#include <fenv.h>
-#else
-#include "openlibm.h"
-#include "openlibm_fenv.h"
-#include "float.h"
-#endif
+#include <openlibm.h>
+#include <openlibm_complex.h>
+#include <openlibm_fenv.h>
 
 #if 0 /* XXX scp XXX */
 #define FE_INEXACT FE_INEXACT