diff options
| author | Eric Fiselier <eric@efcs.ca> | 2017-05-31 22:14:05 +0000 |
|---|---|---|
| committer | Eric Fiselier <eric@efcs.ca> | 2017-05-31 22:14:05 +0000 |
| commit | 1ec026252b3027f06c8a561d93fc0a3801107bba (patch) | |
| tree | 1f2f3fb8bb2fcac2fa57ada4189b42c73f0d0fe4 /libcxx/include/wchar.h | |
| parent | 27db230ab05a685268b94f7296a99d380ab04611 (diff) | |
| download | bcm5719-llvm-1ec026252b3027f06c8a561d93fc0a3801107bba.tar.gz bcm5719-llvm-1ec026252b3027f06c8a561d93fc0a3801107bba.zip | |
Fix Libc++ build with MinGW64
Summary: This patch corrects the build errors I encountered when building on MinGW64.
Reviewers: mati865, rnk, compnerd, smeenai, bcraig
Reviewed By: mati865, smeenai
Subscribers: martell, chapuni, cfe-commits
Differential Revision: https://reviews.llvm.org/D33082
llvm-svn: 304360
Diffstat (limited to 'libcxx/include/wchar.h')
| -rw-r--r-- | libcxx/include/wchar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/wchar.h b/libcxx/include/wchar.h index 25a318faff2..a5666e193a5 100644 --- a/libcxx/include/wchar.h +++ b/libcxx/include/wchar.h @@ -166,7 +166,7 @@ inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_PREFERRED_OVERLOAD } #endif -#if defined(__cplusplus) && defined(_LIBCPP_MSVCRT) +#if defined(__cplusplus) && defined(_LIBCPP_MSVCRT_LIKE) extern "C" { size_t mbsnrtowcs(wchar_t *__restrict dst, const char **__restrict src, size_t nmc, size_t len, mbstate_t *__restrict ps); |

