mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 02:00:12 +01:00
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.
This commit is contained in:
parent
c98b704128
commit
94dbc16dc4
1 changed files with 4 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue