[PATCH] {,U}LLONG_{MIN,MAX} with -D_GNU_SOURCE (BZ #1228)

Jakub Jelinek jakub@redhat.com
Tue Sep 13 18:28:00 GMT 2005


On Tue, Sep 13, 2005 at 10:36:59AM -0700, Roland McGrath wrote:
> I think there was a BZ about this, or maybe an earlier email.
> That's not sufficient for:
> 
> #define _GNU_SOURCE
> #include <limits.h>

It is enough to DTRT, I have tested both include orders, i.e.
-isystem `dirname $(gcc -print-file-name=include/limits.h)` -isystem /usr/include
and
-isystem /usr/include -isystem `dirname $(gcc -print-file-name=include/limits.h)`
before and after the patch.

	Jakub



More information about the Libc-hacker mailing list