Mesa (master): st/glx: Do not undefine _R, _G, and _B.

Vinson Lee vlee at kemper.freedesktop.org
Mon Jun 18 16:44:37 UTC 2012


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

Author: Vinson Lee <vlee at freedesktop.org>
Date:   Sun Jun 17 22:07:28 2012 -0700

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

---

 src/gallium/state_trackers/glx/xlib/glx_usefont.c |    3 ---
 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 0aa37e1..fa5c93a 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;




More information about the mesa-commit mailing list