projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b13e305
)
glx/single2.c: Don't call __builtin_expect on non-gnu compilers
author
Alan Coopersmith
<alan.coopersmith@sun.com>
Fri, 12 Mar 2010 18:27:03 +0000
(10:27 -0800)
committer
Alan Coopersmith
<alan.coopersmith@sun.com>
Fri, 12 Mar 2010 18:28:13 +0000
(10:28 -0800)
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
src/glx/single2.c
patch
|
blob
|
history
diff --git
a/src/glx/single2.c
b/src/glx/single2.c
index 9ecf589ffffa47d658d42aeee39e9549988eb1a1..a1461956b993e3d392f4d5adc5209c2abffa533a 100644
(file)
--- 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