mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-12 07:37:34 +00:00
MinGW's snprintf is not exposed through std::.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229342 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
66981fe208
commit
686746d71d
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user