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 | 7b7ac67cfb9a9c22b11a8100f6a37e0b1d692c9b (patch) | |
tree | 44aed4dfe81ad43502afa90137dd97206edcf8ce /include/locale | |
parent | 018a3d51a47f7275c59e802709104498b729522b (diff) |
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
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@304360 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/locale')
-rw-r--r-- | include/locale | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/include/locale b/include/locale index bdedbeae2..6aaa22cca 100644 --- a/include/locale +++ b/include/locale @@ -192,14 +192,7 @@ template <class charT> class messages_byname; #endif #include <cstdlib> #include <ctime> -#if defined(_LIBCPP_MSVCRT) || defined(__MINGW32__) -#include <support/win32/locale_win32.h> -#elif defined(_NEWLIB_VERSION) -// FIXME: replace all the uses of _NEWLIB_VERSION with __NEWLIB__ preceded by an -// include of <sys/cdefs.h> once https://sourceware.org/ml/newlib-cvs/2014-q3/msg00038.html -// has had a chance to bake for a bit -#include <support/newlib/xlocale.h> -#endif +#include <cstdio> #ifdef _LIBCPP_HAS_CATOPEN #include <nl_types.h> #endif |