aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/libwebp/webp
diff options
context:
space:
mode:
authorGravatar msarett <msarett@google.com>2015-08-17 07:49:37 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-17 07:49:38 -0700
commit340f3074b49de089e7e8cf9495fd54f67b7f9b8a (patch)
tree71cb38da43bc824d00850f5471289f96f1e495f7 /third_party/libwebp/webp
parent29553b39bbfe55f2fad9028d5f4e823db7c99c22 (diff)
Fix webp compile warnings on windows
This fix was landed with: https://codereview.chromium.org/1280073002/ The above CL was reverted due to an unrelated bug in libwebp. The above CL contains multiple components, and I think that reverting this part of the change was unintentional. BUG=skia: Review URL: https://codereview.chromium.org/1286903003
Diffstat (limited to 'third_party/libwebp/webp')
-rw-r--r--third_party/libwebp/webp/config.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/libwebp/webp/config.h b/third_party/libwebp/webp/config.h
index 62ade94d2a..b01473c827 100644
--- a/third_party/libwebp/webp/config.h
+++ b/third_party/libwebp/webp/config.h
@@ -14,14 +14,14 @@
// file, which replaces the checks in endian_inl.h to decide whether we have
// particular builtins.
-#ifdef __builtin_bswap64(x)
+#ifdef __builtin_bswap64
#define HAVE_BUILTIN_BSWAP64
#endif
-#ifdef __builtin_bswap32(x)
+#ifdef __builtin_bswap32
#define HAVE_BUILTIN_BSWAP32
#endif
-#ifdef __builtin_bswap16(x)
+#ifdef __builtin_bswap16
#define HAVE_BUILTIN_BSWAP16
#endif