Assume anything not vax has IEEEFP.
This commit is contained in:
parent
71a54383f7
commit
453980f6b8
@ -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 @@ __weak_alias(xdr_float,_xdr_float)
|
||||
* 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
|
||||
|
Loading…
Reference in New Issue
Block a user