summaryrefslogtreecommitdiff
path: root/usr.bin/make
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>1999-11-23 10:35:24 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>1999-11-23 10:35:24 +0000
commit494b6f4cba34c948d90a90a0f895e1cdf6161f4c (patch)
tree1aaab2ffa163beadb20ed6467a3dd85b2ec84d47 /usr.bin/make
parent5f644e4c7289b319e65c837d3a4d27f1740edc0a (diff)
Notes
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c
index 25726b871a5f..ae3f820ec892 100644
--- a/usr.bin/make/main.c
+++ b/usr.bin/make/main.c
@@ -516,12 +516,16 @@ main(argc, argv)
}
#endif
-#if defined(__i386__)
+#if defined(__i386__) && defined(__FreeBSD_version) && \
+ __FreeBSD_version > 300003
/*
* PC-98 kernel sets the `i386' string to the utsname.machine and
* it cannot be distinguished from IBM-PC by uname(3). Therefore,
* we check machine.ispc98 and adjust the machine variable before
* using usname(3) below.
+ * NOTE: machdep.ispc98 was defined on 1998/8/31. At that time,
+ * __FreeBSD_version was defined as 300003. So, this check can
+ * safely be done with any kernel with version > 300003.
*/
if (!machine) {
int ispc98;