From abc6c5e76ffc6debfa704125efc8b1dc72ffbc32 Mon Sep 17 00:00:00 2001 From: "Viral B. Shah" Date: Sun, 19 Aug 2012 17:03:16 +0530 Subject: [PATCH] Revert to commit 87ce7ceddab2294d5e6f8d6c4c99837309757874 and disable the building of test-double-system and test-float-system by default --- test/Makefile | 2 +- test/libm-test.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Makefile b/test/Makefile index 075ec0e..93b13f6 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,7 +1,7 @@ OPENLIBM_HOME=$(abspath ..) include ../Make.inc -all: test-double test-float test-double-system # test-float-system +all: test-double test-float # test-double-system test-float-system test-double: test-double.c libm-test.c $(CC) -g $@.c -D__BSD_VISIBLE -I ../include -I../src ../libopenlibm.a -o $@ diff --git a/test/libm-test.c b/test/libm-test.c index 0b9c9be..712a440 100644 --- a/test/libm-test.c +++ b/test/libm-test.c @@ -224,7 +224,7 @@ static FLOAT max_error, real_max_error, imag_max_error; #define MANT_DIG CHOOSE ((LDBL_MANT_DIG-1), (DBL_MANT_DIG-1), (FLT_MANT_DIG-1), \ (LDBL_MANT_DIG-1), (DBL_MANT_DIG-1), (FLT_MANT_DIG-1)) -#if defined(__WIN32__) || defined(__APPLE__) +#ifndef SYS_MATH_H void FUNC(sincos) (int n, FLOAT *s, FLOAT *c) { *s = FUNC(sin) ( *s );