summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2015-02-15 23:17:20 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2015-02-15 23:17:20 +0000
commit432092ebdbfc7d2506502d65040c45538763294e (patch)
treed1ea841729ad596da61a2b3e0a9c8dc8bb9e88f4
parent80c1239f1baf2b8b817808d8f13029269ba290a8 (diff)
downloadbcm5719-llvm-432092ebdbfc7d2506502d65040c45538763294e.tar.gz
bcm5719-llvm-432092ebdbfc7d2506502d65040c45538763294e.zip
MinGW's snprintf is not exposed through std::.
llvm-svn: 229342
-rw-r--r--llvm/include/llvm/Support/Format.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/Format.h b/llvm/include/llvm/Support/Format.h
index 21bb4f9f486..682c5a99161 100644
--- a/llvm/include/llvm/Support/Format.h
+++ b/llvm/include/llvm/Support/Format.h
@@ -84,7 +84,7 @@ class format_object final : public format_object_base {
#ifdef _MSC_VER
return _snprintf(Buffer, BufferSize, Fmt, std::get<Is>(Vals)...);
#else
- return std::snprintf(Buffer, BufferSize, Fmt, std::get<Is>(Vals)...);
+ return snprintf(Buffer, BufferSize, Fmt, std::get<Is>(Vals)...);
#endif
}
OpenPOWER on IntegriCloud