From 0dbbf605efb8f72b3c2c15c14e613323fc2ac0a2 Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Fri, 22 Jan 2016 11:38:37 -0800 Subject: AddTo will return AddToTypeProxy for convenience Change-Id: If86496af0c68af31a3e0c618b0fae861975a4ebf Reviewed-on: https://weave-review.googlesource.com/2321 Reviewed-by: Vitaly Buka --- third_party/chromium/base/compiler_specific.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'third_party') 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 -- cgit v1.2.3