diff options
author | José Fonseca <[email protected]> | 2014-05-23 11:36:58 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2014-05-23 11:37:47 +0100 |
commit | 94dbc16dc4c1b7685a9dab89a39e8fea844194df (patch) | |
tree | c6bff049bb22120af1080136c87f13984bb0110f /src/mesa/x86 | |
parent | c98b704128ed450b46c61e139d9f17c652a74c09 (diff) |
mesa/x86: Fix build with clang 3.4.
It defines bit_SSE41 instead of bit_SSE4_1.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=79095
Trivial.
Diffstat (limited to 'src/mesa/x86')
-rw-r--r-- | src/mesa/x86/common_x86.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/x86/common_x86.c b/src/mesa/x86/common_x86.c index ac77c9d7743..261f4917082 100644 --- 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" |