diff options
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!" |