Re: [PATCH] Fix __STDC_VERSION__ tests.

2011-04-20 Thread Alan Coopersmith
On 04/20/11 02:02 PM, Matthieu Herrb wrote: > the existing test: > defined(__STDC__) && (__STDC_VERSION__ - 0 >= 199901L) causes an > warning when building X stuff with gcc -Wundef. Other tests for > __STDC_VERSION__ in the X sources all use > defined(__STDC_VERSION__) && (__STDC_VERSION__ -0 >= 1

Re: [PATCH] Fix __STDC_VERSION__ tests.

2011-04-20 Thread Matt Turner
On Wed, Apr 20, 2011 at 5:02 PM, Matthieu Herrb wrote: > Signed-off-by: Matthieu Herrb Reviewed-by: Matt Turner ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xo

[PATCH] Fix __STDC_VERSION__ tests.

2011-04-20 Thread Matthieu Herrb
the existing test: defined(__STDC__) && (__STDC_VERSION__ - 0 >= 199901L) causes an warning when building X stuff with gcc -Wundef. Other tests for __STDC_VERSION__ in the X sources all use defined(__STDC_VERSION__) && (__STDC_VERSION__ -0 >= 199901L) Signed-off-by: Matthieu Herrb --- Xfuncprot