Cope with the possibility of __FreeBSD__ = 3
This commit is contained in:
parent
2384ae25e2
commit
ccf4742c2f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=23711
@ -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!"
|
||||
|
Loading…
Reference in New Issue
Block a user