Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Unified Diff: third_party/leveldatabase/port/port_chromium.h

Issue 15200005: Grab bag of clang fixes for Windows code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix ptr and cast style Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sandbox/win/src/policy_params.h ('k') | ui/shell_dialogs/select_file_dialog_win_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « sandbox/win/src/policy_params.h ('k') | ui/shell_dialogs/select_file_dialog_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698