Date: Tue, 06 Aug 1996 15:46:35 +0200 From: Mark Murray <mark@grondar.za> 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: <199608061346.PAA14488@grumble.grondar.za>
next in thread | raw e-mail | index | archive | help
"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. Take a look at how I did it in the patches of games/xboard. M -- Mark Murray 46 Harvey Rd, Claremont, Cape Town 7700, South Africa +27 21 61-3768 GMT+0200 Finger mark@grondar.za for PGP key
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608061346.PAA14488>