summaryrefslogtreecommitdiff
path: root/absl/base
diff options
context:
space:
mode:
Diffstat (limited to 'absl/base')
-rw-r--r--absl/base/prefetch.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/absl/base/prefetch.h b/absl/base/prefetch.h
index 98b3bf96..eb40a445 100644
--- a/absl/base/prefetch.h
+++ b/absl/base/prefetch.h
@@ -31,11 +31,12 @@
#include <xmmintrin.h>
#endif
-#if defined(_MSC_VER) && _MSC_VER >= 1900 && \
- (defined(_M_X64) || defined(_M_IX86))
+#if defined(_MSC_VER)
#include <intrin.h>
+#if defined(ABSL_INTERNAL_HAVE_SSE)
#pragma intrinsic(_mm_prefetch)
#endif
+#endif
namespace absl {
ABSL_NAMESPACE_BEGIN