summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util/u_math.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/u_math.c b/src/util/u_math.c
index c58af911be7..63511554bf4 100644
--- a/src/util/u_math.c
+++ b/src/util/u_math.c
@@ -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) */