fixes for bluegene-xlc-osmesa config
authorBrian <brian.paul@tungstengraphics.com>
Thu, 20 Sep 2007 21:11:14 +0000 (15:11 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 20 Sep 2007 21:11:14 +0000 (15:11 -0600)
Makefile
src/mesa/main/glheader.h

index 59e6d8251169986433c69ea6039ebbebc41c0db8..ef607f4944ce6db27fdf36270ee4e284ba6bcfeb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -67,6 +67,7 @@ aix-64-static \
 aix-gcc \
 aix-static \
 bluegene-osmesa \
+bluegene-xlc-osmesa \
 beos \
 darwin \
 darwin-static \
index fd4127558a839e4d53bd550e971decc0a994798e..2d2da49fe5b75b17622ab49df8fc687ad0e4704c 100644 (file)
 #endif
 
 
-#if !defined __GNUC__ || __GNUC__ < 3
+#if (!defined(__GNUC__) || __GNUC__ < 3) && !defined(__IBMC__)
 #  define __builtin_expect(x, y) x
 #endif