diff options
-rw-r--r-- | llvm/include/llvm/Support/Format.h | 2 |
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 } |