summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/unittests/Support/raw_pwrite_stream_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Support/raw_pwrite_stream_test.cpp b/llvm/unittests/Support/raw_pwrite_stream_test.cpp
index 65625fcddd4..08b2f90d605 100644
--- a/llvm/unittests/Support/raw_pwrite_stream_test.cpp
+++ b/llvm/unittests/Support/raw_pwrite_stream_test.cpp
@@ -44,7 +44,7 @@ TEST(raw_pwrite_ostreamTest, TestSVector) {
#endif
}
-#ifdef _MSC_VER
+#ifdef _WIN32
#define setenv(name, var, ignore) _putenv_s(name, var)
#endif
OpenPOWER on IntegriCloud