From d1acae2bdca85a6cfdddbf8410271f9d7469a221 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Sun, 17 Jun 2012 22:07:28 -0700 Subject: [PATCH] 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 --- src/gallium/state_trackers/glx/xlib/glx_usefont.c | 3 --- 1 file changed, 3 deletions(-) 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; -- 2.30.2