summaryrefslogtreecommitdiff
path: root/sunrpc
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-05-10 21:49:30 +0000
committerRoland McGrath <roland@gnu.org>1994-05-10 21:49:30 +0000
commit14a556025fc10ba03fb61fc3866583b2fbd55556 (patch)
tree10cf03d9dffcdc792b702cd6a91aaf7663305d83 /sunrpc
parent78634ddf49c32189cd275cabbf7166b7893c1cbb (diff)
entered into RCS
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/xdr_float.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sunrpc/xdr_float.c b/sunrpc/xdr_float.c
index 216283bfe8..549f8bd97b 100644
--- a/sunrpc/xdr_float.c
+++ b/sunrpc/xdr_float.c
@@ -87,7 +87,7 @@ xdr_float(xdrs, fp)
register XDR *xdrs;
register float *fp;
{
-#if !defined(mc68000) && !defined(sparc)
+#ifdef vax
struct ieee_single is;
struct vax_single vs, *vsp;
struct sgl_limits *lim;
@@ -96,7 +96,7 @@ xdr_float(xdrs, fp)
switch (xdrs->x_op) {
case XDR_ENCODE:
-#if defined(mc68000) || defined(sparc)
+#ifndef vax
return (XDR_PUTLONG(xdrs, (long *)fp));
#else
vs = *((struct vax_single *)fp);
@@ -118,7 +118,7 @@ xdr_float(xdrs, fp)
#endif
case XDR_DECODE:
-#if defined(mc68000) || defined(sparc)
+#ifndef vax
return (XDR_GETLONG(xdrs, (long *)fp));
#else
vsp = (struct vax_single *)fp;