From: Brian Date: Thu, 20 Sep 2007 21:11:14 +0000 (-0600) Subject: fixes for bluegene-xlc-osmesa config X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a5467fbdd9ca599c9512433ece30f90fd67f15e3;p=mesa.git fixes for bluegene-xlc-osmesa config --- 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