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
This commit is contained in:
Howard Hinnant
2013-09-17 01:34:47 +00:00
parent cd942f1840
commit ef5aa93b9c
11 changed files with 51 additions and 33 deletions

View File

@@ -103,6 +103,11 @@ void perror(const char* s);
#pragma GCC system_header
#endif
// snprintf
#if defined(_LIBCPP_MSVCRT)
#include "support/win32/support.h"
#endif
#ifdef getc
inline _LIBCPP_INLINE_VISIBILITY int __libcpp_getc(FILE* __stream) {return getc(__stream);}
#undef getc