summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/util/rounding.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/rounding.h b/src/util/rounding.h
index fd343ab929b..8e302921c9d 100644
--- a/src/util/rounding.h
+++ b/src/util/rounding.h
@@ -116,7 +116,7 @@ _mesa_lroundevenf(float x)
static inline long
_mesa_lroundeven(double x)
{
-#if defined(__SSE__) || defined(_MSC_VER)
+#if defined(__SSE2__) || defined(_MSC_VER)
#if LONG_MAX == INT64_MAX
return _mm_cvtsd_si64(_mm_load_sd(&x));
#elif LONG_MAX == INT32_MAX