projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66981fe
)
MinGW's snprintf is not exposed through std::.
author
Benjamin Kramer
<benny.kra@googlemail.com>
Sun, 15 Feb 2015 23:17:20 +0000
(23:17 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Sun, 15 Feb 2015 23:17:20 +0000
(23:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229342
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/Format.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/Format.h
b/include/llvm/Support/Format.h
index 21bb4f9f4866851fbea14e62cbadd9f6fd5c4cb5..682c5a99161470502425c354d769d1cc6f01ebb1 100644
(file)
--- a/
include/llvm/Support/Format.h
+++ b/
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 s
td::s
nprintf(Buffer, BufferSize, Fmt, std::get<Is>(Vals)...);
+ return snprintf(Buffer, BufferSize, Fmt, std::get<Is>(Vals)...);
#endif
}