glibc/sysdeps/x86/bits
Mike Frysinger c9d6789ebe byteswap.h: fix gcc ver test for __builtin_bswap{32,64}
The __builtin_bswap* functions were introduced in gcc-4.3, not gcc-4.2.
Fix the __GNUC_PREREQ tests to reflect this.

Otherwise trying to compile code with gcc-4.2 falls down:
In file included from /usr/include/endian.h:60,
                 from /usr/include/ctype.h:40,
/usr/include/bits/byteswap.h: In function 'unsigned int __bswap_32(unsigned int)':
/usr/include/bits/byteswap.h:46: error: '__builtin_bswap32' was not declared in this scope
/usr/include/bits/byteswap.h: In function 'long long unsigned int __bswap_64(long long unsigned int)':
/usr/include/bits/byteswap.h:110: error: '__builtin_bswap64' was not declared in this scope

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-12-03 14:54:31 -05:00
..
byteswap-16.h Use x86-64 bits/byteswap.h for both i386 and x86_64 2012-05-30 14:13:18 -07:00
byteswap.h byteswap.h: fix gcc ver test for __builtin_bswap{32,64} 2012-12-03 14:54:31 -05:00
endian.h Use the same bits/endian.h for i386/x86_64 2012-05-30 14:50:32 -07:00
huge_vall.h Use i386 bits/huge_vall.h for i386/x86-64 2012-05-30 15:51:32 -07:00
link.h Use x86_64 bits/{link.h,linkmap.h} for i386/x86_64 2012-05-30 15:21:55 -07:00
linkmap.h Use x86_64 bits/{link.h,linkmap.h} for i386/x86_64 2012-05-30 15:21:55 -07:00
mathdef.h Use x86_64 bits/mathdef.h for i386/x86_64 2012-05-30 15:42:28 -07:00
select.h Use x86_64 bits/select.h for i386/x86_64 2012-05-30 15:49:31 -07:00
setjmp.h Use x86_64 bits/setjmp.h for i386/x86_64 2012-05-30 15:43:34 -07:00
string.h Fix a typo in comment 2012-06-04 13:47:07 -07:00
wordsize.h Use x86_64 bits/wordsize.h for both i386/x86_64 2012-05-30 17:25:23 -07:00
xtitypes.h Use x86_64/bits/xtitypes.h for i386/x86-64 2012-05-30 17:26:11 -07:00