Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Aug 1996 14:50:49 +0300 (EET DST)
From:      Narvi <narvi@haldjas.folklore.ee>
To:        "Christoph P. Kukulies" <kuku@gilberto.physik.rwth-aachen.de>
Cc:        freebsd-ports@freefall.freebsd.org
Subject:   Re: syserrlist (how to define out)
Message-ID:  <Pine.BSF.3.91.960806144819.19109B-100000@haldjas.folklore.ee>
In-Reply-To: <199608061107.NAA09467@gilberto.physik.rwth-aachen.de>

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, 6 Aug 1996, Christoph P. Kukulies wrote:

> The porting section in the handbook says to use __FreeBSD__ sparsely.
> So what would be the correct method to outcondition a 
> 
> extern char *sys_errlist[]; 
> 
> bogon?
> 
> I was tempted to use #ifndef __FreeBSD__ but after reading the
> porting recommendations I'm in doubt. The configure script of
> the package I'm trying to port doesn't seem to detect and BSDism
> so I don't have another symbol I can rely on unless I add one
> one the Makefile or configure script.
> 
> Comments?
> 

The portying section also talks about sys/params.h and BSD. Basicly - 
you use something like 
#ifdef USE_PARAM_H
#include <sys/params.h>
#endif

and then check if BSD is defined...

	Sander

> 
> --Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960806144819.19109B-100000>