From: Vinson Lee Date: Mon, 18 Jun 2012 05:07:28 +0000 (-0700) Subject: st/glx: Do not undefine _R, _G, and _B. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d1acae2bdca85a6cfdddbf8410271f9d7469a221;p=mesa.git st/glx: Do not undefine _R, _G, and _B. Fixes build error on Cygwin and Solaris. _R, _G, and _B are used in ctype.h on those platforms. Signed-off-by: Vinson Lee Reviewed-by: Brian Paul --- diff --git a/src/gallium/state_trackers/glx/xlib/glx_usefont.c b/src/gallium/state_trackers/glx/xlib/glx_usefont.c index 0aa37e150b8..fa5c93afa33 100644 --- a/src/gallium/state_trackers/glx/xlib/glx_usefont.c +++ b/src/gallium/state_trackers/glx/xlib/glx_usefont.c @@ -37,9 +37,6 @@ /* Some debugging info. */ #ifdef DEBUG -#undef _R -#undef _G -#undef _B #include int debug_xfonts = 0;