summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/raw_pwrite_stream_test.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2016-09-02 01:20:18 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2016-09-02 01:20:18 +0000
commitbc469276599aa69c4804d47e2fd9f8bc51ea60f0 (patch)
treed1cb21e8e303e5dfe01aa4bf4d8741ac31afbfed /llvm/unittests/Support/raw_pwrite_stream_test.cpp
parent93e94e8a12fb4320ee15338a13af72058090387e (diff)
downloadbcm5719-llvm-bc469276599aa69c4804d47e2fd9f8bc51ea60f0.tar.gz
bcm5719-llvm-bc469276599aa69c4804d47e2fd9f8bc51ea60f0.zip
raw_pwrite_stream_test.cpp: _putenv_s() may be assumed as win32-generic.
llvm-svn: 280449
Diffstat (limited to 'llvm/unittests/Support/raw_pwrite_stream_test.cpp')
-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