summaryrefslogtreecommitdiff
path: root/lib/libc/rpc/xdr_float.c
diff options
context:
space:
mode:
authorBrandon Creighton <bjc@cvs.openbsd.org>2000-04-30 04:58:24 +0000
committerBrandon Creighton <bjc@cvs.openbsd.org>2000-04-30 04:58:24 +0000
commit0f8c232a33526f0f8196a91a7518ce7c393378e9 (patch)
treea4f1cefb13dbfa68ba1c23bacf00633665bf0500 /lib/libc/rpc/xdr_float.c
parent92399ecbfacfbf896d7b1fe4d1895c866f812ac7 (diff)
#ifdef vax -> #ifdef __vax__
Diffstat (limited to 'lib/libc/rpc/xdr_float.c')
-rw-r--r--lib/libc/rpc/xdr_float.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/rpc/xdr_float.c b/lib/libc/rpc/xdr_float.c
index 024b0443618..5c04bbb97ce 100644
--- a/lib/libc/rpc/xdr_float.c
+++ b/lib/libc/rpc/xdr_float.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: xdr_float.c,v 1.8 1998/08/28 20:29:51 mickey Exp $";
+static char *rcsid = "$OpenBSD: xdr_float.c,v 1.9 2000/04/30 04:58:23 bjc Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -60,7 +60,7 @@ static char *rcsid = "$OpenBSD: xdr_float.c,v 1.8 1998/08/28 20:29:51 mickey Exp
#define IEEEFP
#endif
-#ifdef vax
+#ifdef __vax__
/* What IEEE single precision floating point looks like on a Vax */
struct ieee_single {
@@ -89,7 +89,7 @@ static struct sgl_limits {
{{ 0x0, 0x0, 0x0, 0x0 }, /* Min Vax */
{ 0x0, 0x0, 0x0 }} /* Min IEEE */
};
-#endif /* vax */
+#endif /* __vax__ */
bool_t
xdr_float(xdrs, fp)
@@ -162,7 +162,7 @@ xdr_float(xdrs, fp)
return (FALSE);
}
-#ifdef vax
+#ifdef __vax__
/* What IEEE double precision floating point looks like on a Vax */
struct ieee_double {
unsigned int mantissa1 : 20;
@@ -195,7 +195,7 @@ static struct dbl_limits {
{ 0x0, 0x0, 0x0, 0x0 }} /* Min IEEE */
};
-#endif /* vax */
+#endif /* __vax__ */
bool_t