diff options
author | Alan Coopersmith <[email protected]> | 2010-03-12 10:27:03 -0800 |
---|---|---|
committer | Alan Coopersmith <[email protected]> | 2010-03-12 10:28:13 -0800 |
commit | 57c378a531a18d4ae97e04caa9e7bda19593db7e (patch) | |
tree | a53b18e9a2fda8888f32e080c3adcd31da02ac29 /src/glx/single2.c | |
parent | b13e305ee1a2454265fd957a99640a2e49507bea (diff) |
glx/single2.c: Don't call __builtin_expect on non-gnu compilers
Signed-off-by: Alan Coopersmith <[email protected]>
Diffstat (limited to 'src/glx/single2.c')
-rw-r--r-- | src/glx/single2.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 <X11/Xlib-xcb.h> #endif /* USE_XCB */ +#if !defined(__GNUC__) +# define __builtin_expect(x, y) x +#endif /* Used for GL_ARB_transpose_matrix */ static void |