From owner-cvs-ports Sun Feb 16 23:37:07 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA29289 for cvs-ports-outgoing; Sun, 16 Feb 1997 23:37:07 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA29284; Sun, 16 Feb 1997 23:37:02 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.3/8.6.9) id SAA20018; Mon, 17 Feb 1997 18:34:14 +1100 Date: Mon, 17 Feb 1997 18:34:14 +1100 From: Bruce Evans Message-Id: <199702170734.SAA20018@godzilla.zeta.org.au> To: obrien@NUXI.com, pst@shockwave.com Subject: Re: cvs commit: src/contrib/gcc/config/i386 freebsd-elf.h freebsd.h Cc: cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-ports@freefall.freebsd.org Sender: owner-cvs-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> It's utterly bogus to add this symbol into gcc as a predefined symbol >> because MOST 4.4 bsd systems don't have it. > >Ok, then how about "__post_44bsd__". Nope. Most 4.4 BSD systems won't have it, so you still may as well spell it `__FreeBSD__'. >> The real way to figure out if you're on a late-model BSD system is to include >> sys/param.h and check for BSD >= datecode. > >Yes, but people simply don't do that. If anybody can offer a guarenteed >way to include w/o needing to defined something like >HAVE_SYS_PARAM_H in the Makefile, I'll switch all ports over to that. There is no better way. Define in in bsd.port.mk so at least the makefiles don't need it. Bruce