Use a configure check for bswap16 instead of gcc version #ifdefs.
authorRalph Giles <giles@thaumas.net>
Tue, 4 Nov 2014 19:58:45 +0000 (11:58 -0800)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Wed, 5 Nov 2014 05:18:48 +0000 (21:18 -0800)
commit7a671e7c4123d0f38a7ac626f475181b3a9e6b87
treebaef2733286c19c20e8cb28d2c6572f3d5770873
parent1f30b3e7117bb41fbb9dc61fb345f1321f9e0330
Use a configure check for bswap16 instead of gcc version #ifdefs.

Fixes a build problem on apple clang.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
configure.ac
include/share/endswap.h