aboutsummaryrefslogtreecommitdiff
path: root/include/ieeefp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ieeefp.h')
-rw-r--r--include/ieeefp.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/ieeefp.h b/include/ieeefp.h
index 24ebdf40388e..e4f943d38916 100644
--- a/include/ieeefp.h
+++ b/include/ieeefp.h
@@ -12,9 +12,7 @@
#include <sys/cdefs.h>
#include <machine/ieeefp.h>
-#ifdef __i386__
-#include <machine/floatingpoint.h>
-#else /* !__i386__ */
+#if !defined(_IEEEFP_INLINED_)
__BEGIN_DECLS
extern fp_rnd_t fpgetround(void);
extern fp_rnd_t fpsetround(fp_rnd_t);
@@ -23,6 +21,6 @@ extern fp_except_t fpsetmask(fp_except_t);
extern fp_except_t fpgetsticky(void);
extern fp_except_t fpsetsticky(fp_except_t);
__END_DECLS
-#endif /* __i386__ */
+#endif /* !_IEEEFP_INLINED_ */
#endif /* _IEEEFP_H_ */