Subject: Re: Solaris like __EXTENSIONS__ ?
To: Ben Harris <bjh21@netbsd.org>
From: Brian Ginsbach <ginsbach@cray.com>
List: tech-userlevel
Date: 04/25/2003 17:03:16
* Ben Harris <bjh21@netbsd.org> [2003/04/25 12:41]:
> In article <mtu3ck7zcj1.fsf@magic-pi-ball.mit.edu> you write:
> >Ben Harris <bjh21@netbsd.org> writes:
> >
> >>  * There are also "minor" feature-test macros, which enable extra
> >>  * functionality in addition to some base standard.  They should be
> >>  * defined along with one of the "major" macros.  The "minor" macros
> >>  * are:
> >>  *
> >>  * _REENTRANT
> >>  * _ISO_C99_SOURCE
> >>  * _LARGEFILE_SOURCE
> >>  */
> >
> >Should it be clear which (set of) major macros each of these can go
> >with?
> 
> I think they should be able to go with any of the major macros, though
> they'll be no-ops with some of the more recent ones.  It would help if I
> could find any definitive documentation for them, of course.

Have you checked out the information on the Large File Summit
(http://ftp.sas.com/standards/large.file/x_open.20Mar96.html).
I think this might give more insight into _LARGEFILE_SOURCE.

--
Brian Ginsbach                          Cray Inc.