From: Brian Date: Sun, 9 Mar 2008 16:55:01 +0000 (-0600) Subject: fix __builtin_expect() definition test for IBM XLC (sf bug 1909832) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=882e0e01799cf99dd5ec97786239af4b269125a9;p=mesa.git fix __builtin_expect() definition test for IBM XLC (sf bug 1909832) --- 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