mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-19 04:30:25 +01:00
mesa/x86: Fix build with clang <= 3.3.
clang <= 3.3 cpuid.h does not define contants for feature bits. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79095 Signed-off-by: Vinson Lee <vlee@freedesktop.org>
This commit is contained in:
parent
6148e94e26
commit
f0748b5014
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue