File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,11 +11,6 @@ all: test-double test-float # test-double-system test-float-system
1111
1212bench : bench-syslibm bench-openlibm
1313
14- ifeq ($(USECLANG ) ,1)
15- CPPFLAGS += -DUSECLANG=1
16- endif
17-
18-
1914test-double : test-double.c libm-test.c libm-test-ulps.h
2015 $(CC ) $(CPPFLAGS ) $(CFLAGS ) $(CFLAGS_add_TARGET_$(ARCH ) ) $(LDFLAGS ) $@ .c -D__BSD_VISIBLE -I ../include -I../src $(OPENLIBM_LIB ) -o $@
2116
Original file line number Diff line number Diff line change @@ -410,7 +410,7 @@ test_single_exception (const char *test_name,
410410{
411411/* Don't perform these checks if we're compiling with clang, because clang
412412 doesn't bother to set floating-point exceptions properly */
413- #ifndef USECLANG
413+ #ifndef __clang__
414414#ifndef TEST_INLINE
415415 int ok = 1 ;
416416 if (exception & exc_flag )
@@ -448,7 +448,7 @@ test_single_exception (const char *test_name,
448448 ++ noErrors ;
449449
450450#endif
451- #endif // USECLANG
451+ #endif // __clang__
452452}
453453
454454
You can’t perform that action at this time.
0 commit comments