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 2d2da49fe5b75b17622ab49df8fc687ad0e4704c..bab962ad5e120c0ad25fc06df67d33e30090d977 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