fix __builtin_expect() definition test for IBM XLC (sf bug 1909832)
authorBrian <brian.paul@tungstengraphics.com>
Sun, 9 Mar 2008 16:55:01 +0000 (10:55 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Sun, 9 Mar 2008 23:54:32 +0000 (17:54 -0600)
src/mesa/main/glheader.h

index 2d2da49..bab962a 100644 (file)
 #endif
 
 
-#if (!defined(__GNUC__) || __GNUC__ < 3) && !defined(__IBMC__)
+#if (!defined(__GNUC__) || __GNUC__ < 3) && (!defined(__IBMC__) || __IBMC__ < 900)
 #  define __builtin_expect(x, y) x
 #endif