This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: diff /usr/include/endian.orig.h /usr/include/endian.h > endian.h.diff

On Aug 17 22:44, Pedro Izecksohn wrote:
> --- Corinna Vinschen wrote:
> >
> > For this patch, given that it is just a bunch of rather obvious
> > defines, I don't think we have to treat the patch as significant.
>   I do not think that these macros are obvious. I think that I was
> there when these macros were first implemented at 1987: I talked with
> the programmer who was paid by the Correios to port everything from
> the mainframe to the Apple II. I was a stenchy kid with his father,
> that asked the employee what he was doing. When I asked about other
> possibilities of endianness, the programmer answered about the PDP.
> The programmer explained about BSD being a flavor of Unix. That talk
> changed my life.
> > However, please don't use _BSD_SOURCE. ÂThe newlib/Cygwin headers are
> > not set up like the Linux headers and the big bunch of definitions from
> > /usr/include/features.h are not available so far. ÂThe _BSD_SOURCE
> > define is not honored or set anywhere right now.
> >
> > What you can do is to use _POSIX_SOURCE. ÂSo, if you're going to use
> > #ifndef _POSIX_SOURCE instead, and if you're creating a ChangeLog entry
> > in the correct ChangeLog entry format (see the ChangeLog file), then
> > I guess we can check it in.
>   Would you agree with:
> #if defined _BSD_SOURCE || ! defined _POSIX_SOURCE



Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]