summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-03-28 18:22:17 +0000
committerMike Frysinger <vapier@gentoo.org>2006-03-28 18:22:17 +0000
commit4607e6235f4d669cc288ebc15fb46dc2b3117a87 (patch)
tree5b88dc59b419dca631fe0bc9d34fa875df81a4b8 /libc
parent4b252a4a4949a3dd0476d4ec0f5e6d939e8449f3 (diff)
Fix from Thomas Brinker for byte swapping on Coldfire processors and tested by Richard Sandiford
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/m68k/bits/byteswap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/m68k/bits/byteswap.h b/libc/sysdeps/linux/m68k/bits/byteswap.h
index 549d4452e..f5ec91682 100644
--- a/libc/sysdeps/linux/m68k/bits/byteswap.h
+++ b/libc/sysdeps/linux/m68k/bits/byteswap.h
@@ -35,7 +35,7 @@
((((x) & 0xff000000) >> 24) | (((x) & 0x00ff0000) >> 8) | \
(((x) & 0x0000ff00) << 8) | (((x) & 0x000000ff) << 24))
-#if defined __GNUC__ && __GNUC__ >= 2
+#if defined __GNUC__ && __GNUC__ >= 2 && !defined __mcoldfire__
# define __bswap_32(x) \
__extension__ \
({ unsigned int __bswap_32_v; \