commit | 22d4893d28a6fbcb2a2375378c487eb739f8d14c | [log] [tgz] |
---|---|---|
author | Ralph Giles <giles@thaumas.net> | Wed Jul 02 14:12:38 2014 -0700 |
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | Thu Jul 03 18:59:49 2014 +1000 |
tree | ffd6b58ad7738ca98f4b2e7d09648976b9ee6853 | |
parent | 7422e084f43cc160598dc8a5f1a2bbd2063b8bbb [diff] |
Fix bswap16 issue on Debian 6. Versions of GCC prior to 4.8 didn't provide an implementation of __builtin_bswap16 on x86_64. Detect those versions and supply a fallback implementation. A cleaner fix would be to detect bswap16 independently of bswap32 in configure and handle them separately. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52624 Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>