diff options
author | Howard Hinnant <hhinnant@apple.com> | 2013-09-17 01:34:47 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2013-09-17 01:34:47 +0000 |
commit | ef5aa93b9cdc5bfea3e4c59bafd784a9ff968dec (patch) | |
tree | a4bb0308ac6d5a25e7c8d35a31d8dcd391fe7a32 /include/cwchar | |
parent | cd942f1840386c4f6d37872793c563740a4a60b8 (diff) | |
download | libcxx-ef5aa93b9cdc5bfea3e4c59bafd784a9ff968dec.tar.gz |
G M: Restore the ability for libcxx to compile again on mingw 64.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@190837 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/cwchar')
-rw-r--r-- | include/cwchar | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cwchar b/include/cwchar index 90eae75e8..9f51587ca 100644 --- a/include/cwchar +++ b/include/cwchar @@ -106,7 +106,7 @@ size_t wcsrtombs(char* restrict dst, const wchar_t** restrict src, size_t len, #include <__config> #include <cwctype> #include <wchar.h> -#ifdef _LIBCPP_MSVCRT +#if defined(_LIBCPP_MSVCRT) || defined(__MINGW32__) #include <support/win32/support.h> // pull in *swprintf defines #endif // _LIBCPP_MSVCRT |