mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-06 14:20:39 +01:00
util: fix a warning when building against clang7 headers
Header xmmintrin.h conditionally includes emmintrin.h that defines _MM_DENORMALS_ZERO_MASK, add ifndef to fix this warning. Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
d1af8115f8
commit
b9acfef337
1 changed files with 2 additions and 0 deletions
|
|
@ -35,8 +35,10 @@
|
|||
#include <xmmintrin.h>
|
||||
/* This is defined in pmmintrin.h, but it can only be included when -msse3 is
|
||||
* used, so just define it here to avoid further. */
|
||||
#ifndef _MM_DENORMALS_ZERO_MASK
|
||||
#define _MM_DENORMALS_ZERO_MASK 0x0040
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
/** 2^x, for x in [-1.0, 1.0) */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue