summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11/xfonts.c
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2012-10-27 12:49:52 -0700
committerVinson Lee <[email protected]>2012-10-29 22:25:56 -0700
commit0a66ced8f822b0d5478b0cd6d72c1a6ad70647a2 (patch)
tree2f928ab586c86ee557def1147b9878756a6cb07b /src/mesa/drivers/x11/xfonts.c
parentaab0ea935290cdbf6c74e4d001d4bbc8178fc14a (diff)
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 <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/drivers/x11/xfonts.c')
-rw-r--r--src/mesa/drivers/x11/xfonts.c3
1 files changed, 0 insertions, 3 deletions
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 <ctype.h>
int debug_xfonts = 0;