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

Side by Side Diff: third_party/libwebp/webp/config.h

Issue 1178013008: Use the upstream version of libwebp, v0.4.3. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Remove README, put more info in config.h Created 5 years, 5 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 unified diff | Download patch
« no previous file with comments | « tests/BadIcoTest.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright 2015 Google, Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8 // FIXME: Workaround for skbug.com/4037
9 // Some of our test machines have an older version of clang that does not
10 // have
11 // __builtin_bswap16
12 //
13 // But libwebp expects the builtin. We can change that by using this config.h
14 // file, which replaces the checks in endian_inl.h to decide whether we have
15 // particular builtins.
16
17 #ifdef __builtin_bswap64(x)
18 #define HAVE_BUILTIN_BSWAP64
19 #endif
20
21 #ifdef __builtin_bswap32(x)
22 #define HAVE_BUILTIN_BSWAP32
23 #endif
24
25 #ifdef __builtin_bswap16(x)
26 #define HAVE_BUILTIN_BSWAP16
27 #endif
OLDNEW
« no previous file with comments | « tests/BadIcoTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698