summaryrefslogtreecommitdiff
path: root/absl/crc/internal
diff options
context:
space:
mode:
Diffstat (limited to 'absl/crc/internal')
-rw-r--r--absl/crc/internal/non_temporal_memcpy.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/absl/crc/internal/non_temporal_memcpy.h b/absl/crc/internal/non_temporal_memcpy.h
index 6cdd3197..b3d94bad 100644
--- a/absl/crc/internal/non_temporal_memcpy.h
+++ b/absl/crc/internal/non_temporal_memcpy.h
@@ -41,8 +41,8 @@
#include <algorithm>
#include <cassert>
+#include <cstdint>
#include <cstring>
-#include <iostream>
#include "absl/base/config.h"
#include "absl/base/optimization.h"
@@ -60,7 +60,7 @@ constexpr size_t kCacheLineSize = ABSL_CACHELINE_SIZE;
// If the objects overlap, the behavior is undefined.
inline void *non_temporal_store_memcpy(void *__restrict dst,
const void *__restrict src, size_t len) {
-#if defined(__SSE3__) || defined(__aarch64__) || \
+#if defined(__SSE3__) || defined(__aarch64__) || \
(defined(_MSC_VER) && defined(__AVX__))
// This implementation requires SSE3.
// MSVC cannot target SSE3 directly, but when MSVC targets AVX,