Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/rpc Assume anything not vax has IEEEFP.
details: https://anonhg.NetBSD.org/src/rev/779aeed544b7
branches: trunk
changeset: 331797:779aeed544b7
user: matt <matt%NetBSD.org@localhost>
date: Sun Aug 24 17:07:00 2014 +0000
description:
Assume anything not vax has IEEEFP.
diffstat:
lib/libc/rpc/xdr_float.c | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
diffs (31 lines):
diff -r 0ccd3aa2266b -r 779aeed544b7 lib/libc/rpc/xdr_float.c
--- a/lib/libc/rpc/xdr_float.c Sun Aug 24 16:47:12 2014 +0000
+++ b/lib/libc/rpc/xdr_float.c Sun Aug 24 17:07:00 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xdr_float.c,v 1.39 2014/08/10 05:57:31 matt Exp $ */
+/* $NetBSD: xdr_float.c,v 1.40 2014/08/24 17:07:00 matt Exp $ */
/*
* Copyright (c) 2010, Oracle America, Inc.
@@ -37,7 +37,7 @@
static char *sccsid = "@(#)xdr_float.c 1.12 87/08/11 Copyr 1984 Sun Micro";
static char *sccsid = "@(#)xdr_float.c 2.1 88/07/29 4.0 RPCSRC";
#else
-__RCSID("$NetBSD: xdr_float.c,v 1.39 2014/08/10 05:57:31 matt Exp $");
+__RCSID("$NetBSD: xdr_float.c,v 1.40 2014/08/24 17:07:00 matt Exp $");
#endif
#endif
@@ -71,11 +71,7 @@
* This routine works on machines with IEEE754 FP and Vaxen.
*/
-#if defined(__m68k__) || defined(__sparc__) || defined(__i386__) || \
- defined(__mips__) || defined(__ns32k__) || defined(__alpha__) || \
- defined(__arm__) || defined(__powerpc__) || defined(__sh__) || \
- defined(__x86_64__) || defined(__hppa__) || defined(__ia64__) || \
- defined(__aarch64__)
+#if !defined(__vax__)
#include <machine/endian.h>
#define IEEEFP
#endif
Home |
Main Index |
Thread Index |
Old Index