From 882e0e01799cf99dd5ec97786239af4b269125a9 Mon Sep 17 00:00:00 2001 From: Brian Date: Sun, 9 Mar 2008 10:55:01 -0600 Subject: [PATCH] fix __builtin_expect() definition test for IBM XLC (sf bug 1909832) --- src/mesa/main/glheader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h index 2d2da49fe5b..bab962ad5e1 100644 --- a/src/mesa/main/glheader.h +++ b/src/mesa/main/glheader.h @@ -237,7 +237,7 @@ #endif -#if (!defined(__GNUC__) || __GNUC__ < 3) && !defined(__IBMC__) +#if (!defined(__GNUC__) || __GNUC__ < 3) && (!defined(__IBMC__) || __IBMC__ < 900) # define __builtin_expect(x, y) x #endif -- 2.30.2