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 | 5f878d4bd2730576533183b62910c8a1c3d94119 (patch) | |
| tree | e6bcc8fd921beaf9e9f576e515492fd4551a188c /libcxx/include/cstdio | |
| parent | 226a56fa1dde6363cc6e246ddc1dda99517e609e (diff) | |
| download | bcm5719-llvm-5f878d4bd2730576533183b62910c8a1c3d94119.tar.gz bcm5719-llvm-5f878d4bd2730576533183b62910c8a1c3d94119.zip | |
G M: Restore the ability for libcxx to compile again on mingw 64.
llvm-svn: 190837
Diffstat (limited to 'libcxx/include/cstdio')
| -rw-r--r-- | libcxx/include/cstdio | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libcxx/include/cstdio b/libcxx/include/cstdio index 1cde3eee536..3bc9659c8f6 100644 --- a/libcxx/include/cstdio +++ b/libcxx/include/cstdio @@ -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 |

