From a5467fbdd9ca599c9512433ece30f90fd67f15e3 Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 20 Sep 2007 15:11:14 -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 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 -- 2.30.2