summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/glx/xlib
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2012-06-17 22:07:28 -0700
committerVinson Lee <[email protected]>2012-06-18 09:42:08 -0700
commitd1acae2bdca85a6cfdddbf8410271f9d7469a221 (patch)
tree75b1bc85b0b35c11a9d4e749f2eb12120afbf1bb /src/gallium/state_trackers/glx/xlib
parent8ae93c68ea3538e9e2c2462710a87192e026238d (diff)
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 <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/glx/xlib')
-rw-r--r--src/gallium/state_trackers/glx/xlib/glx_usefont.c3
1 files changed, 0 insertions, 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 <ctype.h>
int debug_xfonts = 0;