Subject: Re: CMU SNMP 2 working.
To: Dave Burgess <burgess@s069.infonet.net>
From: Chris G Demetriou <Chris_G_Demetriou@LAGAVULIN.PDL.CS.CMU.EDU>
List: current-users
Date: 12/21/1994 12:15:23
> There has to be (in my uninformed opinion) a better way to conditionally
> include code than all of these #ifdef (__FreeBSD__) || (__NetBSD__)
> hacks.  Aren't we close enough that there SHOULD be one define that the
> three primary choices (NetBSD, FreeBSD, and BSDi) can use to perform
> this type of stuff.  I mean, its not like we are dealing with stuff cut
> from whole cloth.  

look in <sys/param.h>  Note the BSD_44 define, and the BSD 'version
date' define.

those are common to all berkeley-derived systems.

if people are (or were) using NetBSD or FreeBSD -specific symbols to
find "generic" 4.4BSD (or net/2) features, they were doing things the
wrong way.  


cgd