From: Vinson Lee Date: Sat, 27 Oct 2012 19:49:52 +0000 (-0700) Subject: xlib: Do not undefine _R, _G, and _B. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0a66ced8f822b0d5478b0cd6d72c1a6ad70647a2;p=mesa.git xlib: 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/mesa/drivers/x11/xfonts.c b/src/mesa/drivers/x11/xfonts.c index 9957e8906db..a92d24a9ab3 100644 --- a/src/mesa/drivers/x11/xfonts.c +++ b/src/mesa/drivers/x11/xfonts.c @@ -41,9 +41,6 @@ /* Some debugging info. */ #ifdef DEBUG -#undef _R -#undef _G -#undef _B #include int debug_xfonts = 0;