From 9eb89616afd4afd615cb4379c5066547c7cfbcea Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 20 Sep 2007 15:10:35 -0600 Subject: [PATCH] fixes for bluegene-xlc-osmesa config --- Makefile | 1 + src/mesa/main/glheader.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7eb4989c7dc..9a873ec417a 100644 --- a/Makefile +++ b/Makefile @@ -68,6 +68,7 @@ aix-gcc \ aix-static \ beos \ bluegene-osmesa \ +bluegene-xlc-osmesa \ darwin \ darwin-static \ darwin-static-x86ppc \ diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h index fd4127558a8..9739f68e752 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