On 10/27/2012 01:01 PM, Vinson Lee wrote:
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]>
---
  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;

I'm somewhat skeptical that ctype.h actually needs _R, _G, and _B macros defined...and if it does, I'm -really- skeptical that we're #define'ing them to the expected values. We probably define macros that have a different meaning...
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to