diff options
Diffstat (limited to 'libcxx/test/support/platform_support.h')
-rw-r--r-- | libcxx/test/support/platform_support.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/support/platform_support.h b/libcxx/test/support/platform_support.h index 3ef9e329de1..7900bbf84a5 100644 --- a/libcxx/test/support/platform_support.h +++ b/libcxx/test/support/platform_support.h @@ -47,7 +47,7 @@ inline std::string get_temp_file_name() { -#ifdef _WIN32 +#ifdef _LIBCPP_MSVCRT char* p = _tempnam( NULL, NULL ); if (p == nullptr) abort(); |