diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-03-28 18:22:17 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-03-28 18:22:17 +0000 |
commit | 4607e6235f4d669cc288ebc15fb46dc2b3117a87 (patch) | |
tree | 5b88dc59b419dca631fe0bc9d34fa875df81a4b8 /libc/sysdeps/linux | |
parent | 4b252a4a4949a3dd0476d4ec0f5e6d939e8449f3 (diff) |
Fix from Thomas Brinker for byte swapping on Coldfire processors and tested by Richard Sandiford
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r-- | libc/sysdeps/linux/m68k/bits/byteswap.h | 2 |
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; \ |