Subject: Re: CVS commit: basesrc
To: Ben Harris <bjh21@netbsd.org>
From: Martin Weber <Ephaeton@gmx.net>
List: tech-userlevel
Date: 08/12/2002 19:10:28
On Mon, Aug 12, 2002 at 05:48:05PM +0100, Ben Harris wrote:
> [... Name clashes of utils in libc headers with own stuff ...]
>
> One way to avoid this is to #define a feature-test macro like _POSIX_SOURCE. 
> That will prevent the include files defining anything that the relevant
> standard doesn't permit.  This might be a little too restrictive for you,
> though.

Could also do it the solaris way, #define _EXTENSIONS :) (or was it EXTENSIONS?)
(i.e. leave the utils like fparseln etc. out of the corresponding
headers if EXTENSIONS is not defined in the including code environment)

-Martin Weber