summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile1
-rw-r--r--src/mesa/main/glheader.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 59e6d825116..ef607f4944c 100644
--- a/Makefile
+++ b/Makefile
@@ -67,6 +67,7 @@ aix-64-static \
aix-gcc \
aix-static \
bluegene-osmesa \
+bluegene-xlc-osmesa \
beos \
darwin \
darwin-static \
diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h
index fd4127558a8..2d2da49fe5b 100644
--- a/src/mesa/main/glheader.h
+++ b/src/mesa/main/glheader.h
@@ -237,7 +237,7 @@
#endif
-#if !defined __GNUC__ || __GNUC__ < 3
+#if (!defined(__GNUC__) || __GNUC__ < 3) && !defined(__IBMC__)
# define __builtin_expect(x, y) x
#endif