diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-02-15 23:17:20 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-02-15 23:17:20 +0000 |
| commit | 432092ebdbfc7d2506502d65040c45538763294e (patch) | |
| tree | d1ea841729ad596da61a2b3e0a9c8dc8bb9e88f4 | |
| parent | 80c1239f1baf2b8b817808d8f13029269ba290a8 (diff) | |
| download | bcm5719-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.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 } |

