Cope with the possibility of __FreeBSD__ = 3

This commit is contained in:
Peter Wemm 1997-03-11 14:49:51 +00:00
parent 2384ae25e2
commit ccf4742c2f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=23711

View File

@ -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!"