Index: third_party/leveldatabase/port/port_chromium.h |
diff --git a/third_party/leveldatabase/port/port_chromium.h b/third_party/leveldatabase/port/port_chromium.h |
index 2215fa5d9d6191f1b3087c2633754f98519bad27..6de765e1c25dc7bd603b988b847c57aea117bdf8 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 { |