[llvm] r229342 - MinGW's snprintf is not exposed through std::.
Benjamin Kramer
benny.kra at googlemail.com
Sun Feb 15 15:17:20 PST 2015
Author: d0k
Date: Sun Feb 15 17:17:20 2015
New Revision: 229342
URL: http://llvm.org/viewvc/llvm-project?rev=229342&view=rev
Log:
MinGW's snprintf is not exposed through std::.
Modified:
llvm/trunk/include/llvm/Support/Format.h
Modified: llvm/trunk/include/llvm/Support/Format.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/Format.h?rev=229342&r1=229341&r2=229342&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/Format.h (original)
+++ llvm/trunk/include/llvm/Support/Format.h Sun Feb 15 17:17:20 2015
@@ -84,7 +84,7 @@ class format_object final : public forma
#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
}
More information about the llvm-commits
mailing list