st/glx: Do not undefine _R, _G, and _B.
authorVinson Lee <vlee@freedesktop.org>
Mon, 18 Jun 2012 05:07:28 +0000 (22:07 -0700)
committerVinson Lee <vlee@freedesktop.org>
Mon, 18 Jun 2012 16:42:08 +0000 (09:42 -0700)
Fixes build error on Cygwin and Solaris. _R, _G, and _B are used in
ctype.h on those platforms.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/state_trackers/glx/xlib/glx_usefont.c

index 0aa37e150b8c6f24341be53ec6d49b6a6e24fe74..fa5c93afa3327af42f98f81b8138237fed5dd923 100644 (file)
@@ -37,9 +37,6 @@
 /* Some debugging info.  */
 
 #ifdef DEBUG
-#undef _R
-#undef _G
-#undef _B
 #include <ctype.h>
 
 int debug_xfonts = 0;