In the last episode (Oct 27), Roger Hardiman said:
> I'm working with someone porting linux code to FreeBSD. Actually,
> they want to port it to all BSDs.
>
> So, rather than having
> #if defined (FreeBSD) || defined (NetBSD)
> || defined (OpenBSD || defined (bsdi)
>
> I am looking for a
> #if defined (BSD)
> or #ifdef BSD
Do you know that the code you will be putting inside this #ifdef is
BSD-only code (and won't be used by OSF/1, HP-UX, Solaris, etc), or
should you rather be using autoconf and checking for specific functions
(setproctitle() as an example)?
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message