Revert "[ASan/Win] Remove a hack that seems not to be required with VS2013 anymore" (r215708)

This is still needed for VS2012.

llvm-svn: 215930
This commit is contained in:
Hans Wennborg 2014-08-18 19:55:35 +00:00
parent e13fd1c430
commit a2d4b09a55
1 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,10 @@
#include <stdio.h>
#include <stdarg.h>
#if SANITIZER_WINDOWS && !defined(va_copy)
# define va_copy(dst, src) ((dst) = (src))
#endif
namespace __sanitizer {
StaticSpinMutex CommonSanitizerReportMutex;