diff options
| author | Richard M. Stallman | 1994-09-23 06:38:24 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-09-23 06:38:24 +0000 |
| commit | 69d87222482d5bc1352f37f69c8641afff67b24a (patch) | |
| tree | 1a751a6edc78e4e81a8e0723149c287120f863b4 /src | |
| parent | 52a2b13bc58f493616d53cbe8a2a612b965eafd9 (diff) | |
| download | emacs-69d87222482d5bc1352f37f69c8641afff67b24a.tar.gz emacs-69d87222482d5bc1352f37f69c8641afff67b24a.zip | |
(BSD): Have two definitions according to version number.
Diffstat (limited to 'src')
| -rw-r--r-- | src/s/freebsd.h | 4 |
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 @@ | |||
| 76 | 76 | ||
| 77 | /* this silences a few compilation warnings */ | 77 | /* this silences a few compilation warnings */ |
| 78 | #undef BSD | 78 | #undef BSD |
| 79 | #if __FreeBSD__ == 1 | ||
| 79 | #define BSD 199103 | 80 | #define BSD 199103 |
| 81 | #elif __FreeBSD__ == 2 | ||
| 82 | #define BSD 199306 | ||
| 83 | #endif | ||
| 80 | 84 | ||
| 81 | #define WAITTYPE int | 85 | #define WAITTYPE int |
| 82 | /* get this since it won't be included if WAITTYPE is defined */ | 86 | /* get this since it won't be included if WAITTYPE is defined */ |