summaryrefslogtreecommitdiff
path: root/lib
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
parent92399ecbfacfbf896d7b1fe4d1895c866f812ac7 (diff)
#ifdef vax -> #ifdef __vax__
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/rpc/xdr_float.c10
-rw-r--r--lib/libc/stdlib/strtod.c4
2 files changed, 7 insertions, 7 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
diff --git a/lib/libc/stdlib/strtod.c b/lib/libc/stdlib/strtod.c
index 55d9e912249..9067934da0a 100644
--- a/lib/libc/stdlib/strtod.c
+++ b/lib/libc/stdlib/strtod.c
@@ -90,7 +90,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: strtod.c,v 1.12 1998/08/28 20:49:24 mickey Exp $";
+static char *rcsid = "$OpenBSD: strtod.c,v 1.13 2000/04/30 04:58:22 bjc Exp $";
#endif /* LIBC_SCCS and not lint */
#if defined(__m68k__) || defined(__sparc__) || defined(__i386__) || \
@@ -113,7 +113,7 @@ static char *rcsid = "$OpenBSD: strtod.c,v 1.12 1998/08/28 20:49:24 mickey Exp $
#define IEEE_BIG_ENDIAN
#endif
-#ifdef vax
+#ifdef __vax__
#define VAX
#endif