summaryrefslogtreecommitdiffstats
path: root/libcxx/include/cstdio
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
commit5f878d4bd2730576533183b62910c8a1c3d94119 (patch)
treee6bcc8fd921beaf9e9f576e515492fd4551a188c /libcxx/include/cstdio
parent226a56fa1dde6363cc6e246ddc1dda99517e609e (diff)
downloadbcm5719-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/cstdio5
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
OpenPOWER on IntegriCloud