commit | d26d9def80fe0030348cbcd7cf22dc978cc26f6b | [log] [tgz] |
---|---|---|
author | Johann <johannkoenig@google.com> | Wed Oct 14 16:33:42 2015 -0700 |
committer | Johann <johannkoenig@google.com> | Wed Oct 14 17:48:08 2015 -0700 |
tree | 2fecef99c721a3fed274b112e2996035aa8aa585 | |
parent | 12ec204ec793370379e49aaff6b52e9352e3804b [diff] |
Use __has_builtin to check clang support Older versions of Xcode with clang reporting versions 4.[012] and 5.0 did not include support for __builtin_bswap16. Checking in this manner avoids using brittle version checks. Matches a change to libvpx: https://chromium-review.googlesource.com/305573 to fix: https://code.google.com/p/webm/issues/detail?id=1082 Change-Id: I23ea466ee1b53b12cd3fb45f65a2186c8dda95a1