diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-05-16 19:47:31 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-05-16 19:47:31 +0000 |
| commit | 7582e3938bb9fb3e4664efdfb2313df29f27b70b (patch) | |
| tree | 65bec6df3984fb0b437488fd86eb1359e9c84af4 /src/string.cpp | |
| parent | 733153a0fb52facba02c550ec849f0c734dfa412 (diff) | |
Notes
Diffstat (limited to 'src/string.cpp')
| -rw-r--r-- | src/string.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/string.cpp b/src/string.cpp index cd644330b3a7..d7ebdd3e5c9a 100644 --- a/src/string.cpp +++ b/src/string.cpp @@ -13,9 +13,6 @@ #include "cerrno" #include "limits" #include "stdexcept" -#ifdef _LIBCPP_MSVCRT -#include "support/win32/support.h" -#endif // _LIBCPP_MSVCRT #include <stdio.h> _LIBCPP_BEGIN_NAMESPACE_STD @@ -430,7 +427,7 @@ get_swprintf() #ifndef _LIBCPP_MSVCRT return swprintf; #else - return static_cast<int (__cdecl*)(wchar_t* __restrict, size_t, const wchar_t*__restrict, ...)>(swprintf); + return static_cast<int (__cdecl*)(wchar_t* __restrict, size_t, const wchar_t*__restrict, ...)>(_snwprintf); #endif } |
