diff options
author | peter <peter@FreeBSD.org> | 1997-03-11 14:49:51 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-03-11 14:49:51 +0000 |
commit | eb462efd5af228e3d08bf71bd3998e0f9e95bfa5 (patch) | |
tree | 7e7f6a49f1d948ff7d788b1d363a3236cb40cbc3 /usr.bin | |
parent | 9be41f6b6ae9a559a59c0323c1edb90de74c480e (diff) | |
download | FreeBSD-src-eb462efd5af228e3d08bf71bd3998e0f9e95bfa5.zip FreeBSD-src-eb462efd5af228e3d08bf71bd3998e0f9e95bfa5.tar.gz |
Cope with the possibility of __FreeBSD__ = 3
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 515456f..e4ad124 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__ == 2) +#if defined (__FreeBSD__) && (__FreeBSD__ == 3) + appcstrg(&cppflags, "-D__FreeBSD__=3"); +#elif defined (__FreeBSD__) && (__FreeBSD__ == 2) appcstrg(&cppflags, "-D__FreeBSD__=2"); #else # error "This ain't NetBSD. You lose!" |