[PATCH] Fix __STDC_VERSION__ tests.

Alan Coopersmith alan.coopersmith at oracle.com
Wed Apr 20 15:00:05 PDT 2011


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 >= 199901L)
> 
> Signed-off-by: Matthieu Herrb <matthieu.herrb at laas.fr>

Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list