projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2f1a4d
)
Fix build break with minimal Windows OS CRT
author
Jan Kotas
<jkotas@microsoft.com>
Mon, 9 Feb 2015 17:21:18 +0000
(09:21 -0800)
committer
Jan Kotas
<jkotas@microsoft.com>
Mon, 9 Feb 2015 17:21:18 +0000
(09:21 -0800)
va_copy is not available in the minimal Windows OS CRT
[tfs-changeset: 1412529]
src/utilcode/sstring.cpp
patch
|
blob
|
history
diff --git
a/src/utilcode/sstring.cpp
b/src/utilcode/sstring.cpp
index
eabf3f7
..
697a2af
100644
(file)
--- a/
src/utilcode/sstring.cpp
+++ b/
src/utilcode/sstring.cpp
@@
-2034,6
+2034,11
@@
static void CheckForFormatStringGlobalizationIssues(const SString &format, const
#define ERANGE 34
#endif
+#if defined(_MSC_VER)
+#undef va_copy
+#define va_copy(dest,src) (dest = src)
+#endif
+
void SString::VPrintf(const CHAR *format, va_list args)
{
CONTRACT_VOID