summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_printf.cc
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2013-06-10 10:02:02 +0000
committerDmitry Vyukov <dvyukov@google.com>2013-06-10 10:02:02 +0000
commitc5288679cc55c523188a40325d49d97b100cf03c (patch)
tree999a6d267e236ce4f14fd356f4a74bced7d2428b /lib/sanitizer_common/sanitizer_printf.cc
parentbb5aecb56d84e09106a88aca2d30fbb0b29b2e9c (diff)
tsan: fix windows mingw build
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183644 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_printf.cc')
-rw-r--r--lib/sanitizer_common/sanitizer_printf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sanitizer_common/sanitizer_printf.cc b/lib/sanitizer_common/sanitizer_printf.cc
index 74c628923..56498f5a1 100644
--- a/lib/sanitizer_common/sanitizer_printf.cc
+++ b/lib/sanitizer_common/sanitizer_printf.cc
@@ -21,7 +21,7 @@
#include <stdio.h>
#include <stdarg.h>
-#if SANITIZER_WINDOWS
+#if SANITIZER_WINDOWS && !defined(va_copy)
# define va_copy(dst, src) ((dst) = (src))
#endif