Re: [exim-dev] LLONG_MAX etc.

Top Pagina
Delete this message
Reply to this message
Auteur: Phil Pennock
Datum:  
Aan: Jeremy Harris, exim-dev
Onderwerp: Re: [exim-dev] LLONG_MAX etc.
On 2012-05-23 at 23:22 -0400, Phil Pennock wrote:
> Since we're now actually using C99 features, the 64-bit arithmetic, and
> _ISOC99_SOURCE is an unambiguous name, we should probably grab it in,
> unambiguously, for all systems, in exim.h. If it's not used, it's
> harmless.
>
> After 4.80, we might consider switching to _GNU_SOURCE, but that
> potentially changes enough extra stuff that I don't want to do it at
> this stage in the release process.
>
> So, I'll commit that, fire off the test suite, see if it all goes well
> and then cut RC5 if so.


Famous last words.

The interaction with the BSD side of features is what I wanted to avoid,
but turning on _ISOC99_SOURCE without turning on BSD support too breaks
inclusion of <resolv.h>, <arpa/nameser.h>.

The fix? Using _GNU_SOURCE instead.

*sigh* Well, it does at least now build for me again, so I'll commit
that amendment.

-Phil