sanitizer_printf.cc: guard the va_copy hack on _MSC_VER
llvm-svn: 215932
This commit is contained in:
parent
ec5ca03674
commit
4834653872
|
@ -22,7 +22,8 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
#if SANITIZER_WINDOWS && !defined(va_copy)
|
#if SANITIZER_WINDOWS && defined(_MSC_VER) && _MSC_VER < 1800 && \
|
||||||
|
!defined(va_copy)
|
||||||
# define va_copy(dst, src) ((dst) = (src))
|
# define va_copy(dst, src) ((dst) = (src))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue