From ef63f7a644a3bbca1af6c438e1cb6c5bc1a1bca5 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Fri, 2 Sep 2016 01:20:18 +0000 Subject: [PATCH] raw_pwrite_stream_test.cpp: _putenv_s() may be assumed as win32-generic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280449 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/Support/raw_pwrite_stream_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittests/Support/raw_pwrite_stream_test.cpp b/unittests/Support/raw_pwrite_stream_test.cpp index 65625fcddd4..08b2f90d605 100644 --- a/unittests/Support/raw_pwrite_stream_test.cpp +++ b/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