diff options
author | jhay <jhay@FreeBSD.org> | 1999-01-23 10:59:29 +0000 |
---|---|---|
committer | jhay <jhay@FreeBSD.org> | 1999-01-23 10:59:29 +0000 |
commit | 421fe25c125be73d6f5534a7df4bd1e4ec26fbb2 (patch) | |
tree | 7d587bb5383104bcdf0b87030ebf6319f888053f /usr.bin | |
parent | d9d237808adf24ee1601ab444ff7d8751893453e (diff) | |
download | FreeBSD-src-421fe25c125be73d6f5534a7df4bd1e4ec26fbb2.zip FreeBSD-src-421fe25c125be73d6f5534a7df4bd1e4ec26fbb2.tar.gz |
__FreeBSD__ is also used here.
Forgotten by: Lots of people.
Pointed out by: make world.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/xlint/xlint/xlint.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/xlint/xlint/xlint.c b/usr.bin/xlint/xlint/xlint.c index e4ad124..84799b4 100644 --- a/usr.bin/xlint/xlint/xlint.c +++ b/usr.bin/xlint/xlint/xlint.c @@ -325,7 +325,9 @@ main(argc, argv) appcstrg(&cppflags, "-$"); appcstrg(&cppflags, "-C"); appcstrg(&cppflags, "-Wcomment"); -#if defined (__FreeBSD__) && (__FreeBSD__ == 3) +#if defined (__FreeBSD__) && (__FreeBSD__ == 4) + appcstrg(&cppflags, "-D__FreeBSD__=4"); +#elif defined (__FreeBSD__) && (__FreeBSD__ == 3) appcstrg(&cppflags, "-D__FreeBSD__=3"); #elif defined (__FreeBSD__) && (__FreeBSD__ == 2) appcstrg(&cppflags, "-D__FreeBSD__=2"); |