diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-11-28 23:04:32 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-12-03 14:54:31 -0500 |
commit | c9d6789ebe028a260d3e5be0c26b7d02fdfe99fe (patch) | |
tree | 540b79252626c184e1f70bdad414532de905730d /ChangeLog | |
parent | a69646e9bdc80d9bd25ac0d6ba8cd8e05cfcf288 (diff) | |
download | glibc-c9d6789ebe028a260d3e5be0c26b7d02fdfe99fe.tar.gz glibc-c9d6789ebe028a260d3e5be0c26b7d02fdfe99fe.tar.xz glibc-c9d6789ebe028a260d3e5be0c26b7d02fdfe99fe.zip |
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>
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 624078b12c..b07f1db0a0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-12-03 Mike Frysinger <vapier@gentoo.org> + + * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3. + * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise. + 2012-12-03 Jeff Law <law@redhat.com> * time/sys/time.h (settimeofday): Do not mark TV argument |