From owner-freebsd-ports Wed Feb 5 19:14:30 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA00320 for ports-outgoing; Wed, 5 Feb 1997 19:14:30 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA00292; Wed, 5 Feb 1997 19:14:26 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by who.cdrom.com (8.7.5/8.6.11) with ESMTP id TAA17659 ; Wed, 5 Feb 1997 19:02:51 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.3/8.6.9) id OAA01390; Thu, 6 Feb 1997 14:00:30 +1100 Date: Thu, 6 Feb 1997 14:00:30 +1100 From: Bruce Evans Message-Id: <199702060300.OAA01390@godzilla.zeta.org.au> To: bde@zeta.org.au, imp@village.org Subject: Re: conditionally including Cc: freebsd-ports@freebsd.org, hackers@freebsd.org, obrien@NUXI.com Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >: strerror() doesn't exist on old systems. > >True. But how old is old? Orphaned systems still don't have it. >: I think we should just use `#ifdef __FreeBSD__' and in >: ports. Original authors should use a better method to suit themselves. > >Yes, but this whole thing got started because the #ifdef __FreeBSD__ >was slowly turning into > #if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) >in a bunch of places due to those projects riding along on the FreeBSD >port's coat tails. Maybe include unconditionally? I'm not sure why I mentioned the __FreeBSD__ ifdef above. I've never liked ifdefing on the OS - it isn't necessary for one OS and gives too-large ifdefs for more than 2 OS's. You'll still need large ifdefs if configuration depends on the value of `BSD' and the value is OS-dependent. Bruce