summaryrefslogtreecommitdiff
path: root/src/glx/single2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/single2.c')
-rw-r--r--src/glx/single2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glx/single2.c b/src/glx/single2.c
index 9ecf589fff..a1461956b9 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