aboutsummaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2016-01-22 11:38:37 -0800
committerVitaly Buka <vitalybuka@google.com>2016-01-22 21:49:52 +0000
commit0dbbf605efb8f72b3c2c15c14e613323fc2ac0a2 (patch)
tree5ecb3c53691357a7ebf5d75debb9e612c7b32714 /third_party
parent48a8669ddc2e8d785aad9ad18a5abbf8f1224fde (diff)
downloadlibweave-0dbbf605efb8f72b3c2c15c14e613323fc2ac0a2.tar.gz
AddTo will return AddToTypeProxy for convenience
Change-Id: If86496af0c68af31a3e0c618b0fae861975a4ebf Reviewed-on: https://weave-review.googlesource.com/2321 Reviewed-by: Vitaly Buka <vitalybuka@google.com>
Diffstat (limited to 'third_party')
-rw-r--r--third_party/chromium/base/compiler_specific.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/chromium/base/compiler_specific.h b/third_party/chromium/base/compiler_specific.h
index 339e9b7..79b7fa8 100644
--- a/third_party/chromium/base/compiler_specific.h
+++ b/third_party/chromium/base/compiler_specific.h
@@ -135,7 +135,7 @@
// |dots_param| is the one-based index of the "..." parameter.
// For v*printf functions (which take a va_list), pass 0 for dots_param.
// (This is undocumented but matches what the system C headers do.)
-#if defined(COMPILER_GCC)
+#if defined(COMPILER_GCC) || defined(__clang__)
#define PRINTF_FORMAT(format_param, dots_param) \
__attribute__((format(printf, format_param, dots_param)))
#else