Mesa (master): xlib: Do not undefine _R, _G, and _B.

Vinson Lee vlee at kemper.freedesktop.org
Tue Oct 30 05:26:41 UTC 2012


Module: Mesa
Branch: master
Commit: 0a66ced8f822b0d5478b0cd6d72c1a6ad70647a2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a66ced8f822b0d5478b0cd6d72c1a6ad70647a2

Author: Vinson Lee <vlee at freedesktop.org>
Date:   Sat Oct 27 12:49:52 2012 -0700

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 <vlee at freedesktop.org>
Reviewed-by: Brian Paul <brianp at vmware.com>

---

 src/mesa/drivers/x11/xfonts.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/mesa/drivers/x11/xfonts.c b/src/mesa/drivers/x11/xfonts.c
index 9957e89..a92d24a 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;




More information about the mesa-commit mailing list