summaryrefslogtreecommitdiff
path: root/third_party/yuv/source/cpu_id.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/yuv/source/cpu_id.cc')
-rw-r--r--third_party/yuv/source/cpu_id.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/yuv/source/cpu_id.cc b/third_party/yuv/source/cpu_id.cc
index 84927ebc..907d4fad 100644
--- a/third_party/yuv/source/cpu_id.cc
+++ b/third_party/yuv/source/cpu_id.cc
@@ -167,7 +167,7 @@ int cpu_info_ = 0; // cpu_info is not initialized yet.
// Test environment variable for disabling CPU features. Any non-zero value
// to disable. Zero ignored to make it easy to set the variable on/off.
-#if !defined(__native_client__) && !defined(_M_ARM)
+#if !defined(__native_client__) && !defined(_M_ARM) && !defined(_MSC_VER)
static LIBYUV_BOOL TestEnv(const char* name) {
const char* var = getenv(name);