Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/include finish the ieeefp.h vs fp_prec_t hack from the previ...



details:   https://anonhg.NetBSD.org/src/rev/cafe02520962
branches:  trunk
changeset: 763594:cafe02520962
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Mar 27 05:13:15 2011 +0000

description:
finish the ieeefp.h vs fp_prec_t hack from the previous change and
don't try to define a type when "fp_prec" isn't defined.

this lets my non-x86 (and i presume non-m68k) builds pass again.

diffstat:

 include/ieeefp.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r cc731774c031 -r cafe02520962 include/ieeefp.h
--- a/include/ieeefp.h  Sun Mar 27 02:52:10 2011 +0000
+++ b/include/ieeefp.h  Sun Mar 27 05:13:15 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ieeefp.h,v 1.8 2011/03/26 19:51:59 christos Exp $      */
+/*     $NetBSD: ieeefp.h,v 1.9 2011/03/27 05:13:15 mrg Exp $   */
 
 /* 
  * Written by J.T. Conklin, Apr 6, 1995
@@ -13,7 +13,9 @@
 
 __BEGIN_DECLS
 typedef fp_rnd fp_rnd_t;
+#ifdef _X86_IEEEFP_H_  /* XXX */
 typedef fp_prec fp_prec_t;
+#endif
 typedef fp_except fp_except_t;
 
 fp_rnd_t       fpgetround(void);



Home | Main Index | Thread Index | Old Index