Skip to content

Commit 7df63d4

Browse files
committed
Remove unneeded tests for <sys/cdefs.h>.
This test is also present in FreeBSD's <machine/ieeefp.h>. For FreeBSD it makes sense, but for a portable math library, we cannot assume that the system has a header file like <sys/cdefs.h> and that it uses a common header guard.
1 parent b44ec54 commit 7df63d4

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

amd64/bsd_ieeefp.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@
3838
#ifndef _MACHINE_IEEEFP_H_
3939
#define _MACHINE_IEEEFP_H_
4040

41-
#if !defined(_SYS_CDEFS_H) && !defined(_SYS_CDEFS_H_) && !defined(_CDEFS_H_)
42-
#error this file needs sys/cdefs.h as a prerequisite
43-
#endif
44-
4541
/*
4642
* FP rounding modes
4743
*/

0 commit comments

Comments
 (0)