diff options
author | Vitaly Buka <vitalybuka@google.com> | 2016-01-22 11:38:37 -0800 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2016-01-22 21:49:52 +0000 |
commit | 0dbbf605efb8f72b3c2c15c14e613323fc2ac0a2 (patch) | |
tree | 5ecb3c53691357a7ebf5d75debb9e612c7b32714 /third_party | |
parent | 48a8669ddc2e8d785aad9ad18a5abbf8f1224fde (diff) | |
download | libweave-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.h | 2 |
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 |