aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/x86/common_x86.c
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/x86/common_x86.c')
-rw-r--r--mesalib/src/mesa/x86/common_x86.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesalib/src/mesa/x86/common_x86.c b/mesalib/src/mesa/x86/common_x86.c
index 261f49170..b401c354a 100644
--- a/mesalib/src/mesa/x86/common_x86.c
+++ b/mesalib/src/mesa/x86/common_x86.c
@@ -52,6 +52,8 @@
#if !defined(bit_SSE4_1) && defined(bit_SSE41)
/* XXX: clang defines bit_SSE41 instead of bit_SSE4_1 */
#define bit_SSE4_1 bit_SSE41
+#elif !defined(bit_SSE4_1) && !defined(bit_SSE41)
+#define bit_SSE4_1 0x00080000
#endif
#endif