OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c98b704
)
mesa/x86: Fix build with clang 3.4.
author
José Fonseca
<jfonseca@vmware.com>
Fri, 23 May 2014 10:36:58 +0000
(11:36 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Fri, 23 May 2014 10:37:47 +0000
(11:37 +0100)
It defines bit_SSE41 instead of bit_SSE4_1.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=79095
Trivial.
src/mesa/x86/common_x86.c
patch
|
blob
|
history
diff --git
a/src/mesa/x86/common_x86.c
b/src/mesa/x86/common_x86.c
index
ac77c9d
..
261f491
100644
(file)
--- a/
src/mesa/x86/common_x86.c
+++ b/
src/mesa/x86/common_x86.c
@@
-49,6
+49,10
@@
#endif
#if defined(USE_X86_64_ASM)
#include <cpuid.h>
+#if !defined(bit_SSE4_1) && defined(bit_SSE41)
+/* XXX: clang defines bit_SSE41 instead of bit_SSE4_1 */
+#define bit_SSE4_1 bit_SSE41
+#endif
#endif
#include "main/imports.h"