summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-03-09 10:55:01 -0600
committerBrian <brian.paul@tungstengraphics.com>2008-03-09 17:54:32 -0600
commit882e0e01799cf99dd5ec97786239af4b269125a9 (patch)
treed0402ee06483dc9beb6506bd45ecf133d2bf9385 /src
parentb0f80254340222829b659df7a77ad6de410cd737 (diff)
fix __builtin_expect() definition test for IBM XLC (sf bug 1909832)
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/glheader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h
index 2d2da49fe5..bab962ad5e 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