From 9d683ffd4b8616aa69bc158f2ef2e942fd7c2115 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Sun, 19 Jan 2003 06:01:33 +0000 Subject: o Move the contents of over to where it belongs. o Remove the i386 specific inclusion of from , now that including is enough for all architectures. o Allow to inline the functions exposed by the headers by checking for _IEEEFP_INLINED_ in the MI header. When defined, prototypes are not given and it is assumed that the MD headers, when inlining only a subset of the functions provide prototypes for the functions not being inlined. Based on patch from: Terry Lambert Tested with: make release. --- include/ieeefp.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'include') 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 #include -#ifdef __i386__ -#include -#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_ */ -- cgit v1.2.3