From 57c378a531a18d4ae97e04caa9e7bda19593db7e Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 12 Mar 2010 10:27:03 -0800 Subject: [PATCH] glx/single2.c: Don't call __builtin_expect on non-gnu compilers Signed-off-by: Alan Coopersmith --- src/glx/single2.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/glx/single2.c b/src/glx/single2.c index 9ecf589ffff..a1461956b99 100644 --- a/src/glx/single2.c +++ b/src/glx/single2.c @@ -44,6 +44,9 @@ #include #endif /* USE_XCB */ +#if !defined(__GNUC__) +# define __builtin_expect(x, y) x +#endif /* Used for GL_ARB_transpose_matrix */ static void -- 2.30.2