summaryrefslogtreecommitdiff
path: root/include/cwchar
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2013-09-17 01:34:47 +0000
committerHoward Hinnant <hhinnant@apple.com>2013-09-17 01:34:47 +0000
commitef5aa93b9cdc5bfea3e4c59bafd784a9ff968dec (patch)
treea4bb0308ac6d5a25e7c8d35a31d8dcd391fe7a32 /include/cwchar
parentcd942f1840386c4f6d37872793c563740a4a60b8 (diff)
downloadlibcxx-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/cwchar2
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