summaryrefslogtreecommitdiffstats
path: root/third_party/leveldatabase
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/leveldatabase')
-rw-r--r--third_party/leveldatabase/port/port_chromium.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/third_party/leveldatabase/port/port_chromium.h b/third_party/leveldatabase/port/port_chromium.h
index 2215fa5..6de765e 100644
--- a/third_party/leveldatabase/port/port_chromium.h
+++ b/third_party/leveldatabase/port/port_chromium.h
@@ -22,7 +22,9 @@
#if defined(OS_WIN)
#define snprintf _snprintf
-#define va_copy(a, b) do { (a) = (b); } while (0)
+#if !defined(__clang__)
+# define va_copy(a, b) do { (a) = (b); } while (0)
+#endif
#endif
namespace leveldb {