Module: Mesa Branch: master Commit: 57c378a531a18d4ae97e04caa9e7bda19593db7e URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=57c378a531a18d4ae97e04caa9e7bda19593db7e
Author: Alan Coopersmith <[email protected]> Date: Fri Mar 12 10:27:03 2010 -0800 glx/single2.c: Don't call __builtin_expect on non-gnu compilers Signed-off-by: Alan Coopersmith <[email protected]> --- 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 9ecf589..a146195 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 _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
