diff options
author | Roland McGrath <roland@gnu.org> | 1994-02-18 23:07:32 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1994-02-18 23:07:32 +0000 |
commit | 7c8d09b8398390362edb4bb80c13b45012a9740b (patch) | |
tree | ba8dd420808c0bf44f7d163f001290ad16c81b78 /sunrpc | |
parent | e50f139b6cc2514873663034211e4be1031f7cc1 (diff) |
Formerly ../sunrpc/xdr_float.c.~2~
Diffstat (limited to 'sunrpc')
-rw-r--r-- | sunrpc/xdr_float.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sunrpc/xdr_float.c b/sunrpc/xdr_float.c index 4b5b697bcf..216283bfe8 100644 --- a/sunrpc/xdr_float.c +++ b/sunrpc/xdr_float.c @@ -193,7 +193,7 @@ xdr_double(xdrs, dp) double *dp; { register long *lp; -#if !defined(mc68000) && !defined(sparc) +#ifdef vax struct ieee_double id; struct vax_double vd; register struct dbl_limits *lim; @@ -203,7 +203,7 @@ xdr_double(xdrs, dp) switch (xdrs->x_op) { case XDR_ENCODE: -#if defined(mc68000) || defined(sparc) +#ifndef vax lp = (long *)dp; #else vd = *((struct vax_double *)dp); @@ -231,7 +231,7 @@ xdr_double(xdrs, dp) return (XDR_PUTLONG(xdrs, lp++) && XDR_PUTLONG(xdrs, lp)); case XDR_DECODE: -#if defined(mc68000) || defined(sparc) +#ifndef vax lp = (long *)dp; return (XDR_GETLONG(xdrs, lp++) && XDR_GETLONG(xdrs, lp)); #else |