summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorbjc <bjc@openbsd.org>2000-04-30 04:58:22 +0000
committerbjc <bjc@openbsd.org>2000-04-30 04:58:22 +0000
commit18387299034752bfe396e580aad12ebdacee4a00 (patch)
tree1ea2f36729c38f47fba2fc9c5eefc80c392db886 /lib/libc
parentChange 5985 by gsar@auger on 2000/04/28 07:30:28 (diff)
downloadwireguard-openbsd-18387299034752bfe396e580aad12ebdacee4a00.tar.xz
wireguard-openbsd-18387299034752bfe396e580aad12ebdacee4a00.zip
#ifdef vax -> #ifdef __vax__
Diffstat (limited to 'lib/libc')
-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