diff options
author | Jan Kotas <jkotas@microsoft.com> | 2015-02-09 09:21:18 -0800 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2015-02-09 09:21:18 -0800 |
commit | e259f85fcd23ae920ec54634d922cd9c27fec99f (patch) | |
tree | bb9a37426c4e7758cfdafaaf4123b1306020c0cf /src | |
parent | a2f1a4d5d6a5e999989a830a982ec4191638fcb7 (diff) | |
download | coreclr-e259f85fcd23ae920ec54634d922cd9c27fec99f.tar.gz coreclr-e259f85fcd23ae920ec54634d922cd9c27fec99f.tar.bz2 coreclr-e259f85fcd23ae920ec54634d922cd9c27fec99f.zip |
Fix build break with minimal Windows OS CRT
va_copy is not available in the minimal Windows OS CRT
[tfs-changeset: 1412529]
Diffstat (limited to 'src')
-rw-r--r-- | src/utilcode/sstring.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/utilcode/sstring.cpp b/src/utilcode/sstring.cpp index eabf3f7374..697a2afe67 100644 --- 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 |