summaryrefslogtreecommitdiff
path: root/src/s
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-09-23 06:38:24 +0000
committerRichard M. Stallman <rms@gnu.org>1994-09-23 06:38:24 +0000
commit2ea6bbcb739c7a1338e922a6506753828b66a302 (patch)
tree2ed2e9d082eac52d061681f7f044cef5ce53c8d4 /src/s
parent0e6f7e4fea2225f51bd04319385ef0b4da0b91b1 (diff)
downloademacs-2ea6bbcb739c7a1338e922a6506753828b66a302.tar.gz
(BSD): Have two definitions according to version number.
Diffstat (limited to 'src/s')
-rw-r--r--src/s/freebsd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/s/freebsd.h b/src/s/freebsd.h
index 76ab979e90a..d141c379ec2 100644
--- a/src/s/freebsd.h
+++ b/src/s/freebsd.h
@@ -76,7 +76,11 @@
/* this silences a few compilation warnings */
#undef BSD
+#if __FreeBSD__ == 1
#define BSD 199103
+#elif __FreeBSD__ == 2
+#define BSD 199306
+#endif
#define WAITTYPE int
/* get this since it won't be included if WAITTYPE is defined */