diff options
author | Adam Jackson <ajax@redhat.com> | 2014-07-22 10:59:12 -0400 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-07-28 12:19:07 -0700 |
commit | 8ffd1c066ab1e993d8964aef12a7c585329c677c (patch) | |
tree | ad3e72c492524480f4e3ef8132136a215f5a82bb /hw/xfree86/common/compiler.h | |
parent | 1c1711b57f2c278c0df03bf9e7e9a1776a546968 (diff) |
xfree86: Clean up some silly __sparc macro usage
The top of this file already defines __sparc__ if __sparc is defined.
Reviewed-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'hw/xfree86/common/compiler.h')
-rw-r--r-- | hw/xfree86/common/compiler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xfree86/common/compiler.h b/hw/xfree86/common/compiler.h index b1fd0d847..a94a38878 100644 --- a/hw/xfree86/common/compiler.h +++ b/hw/xfree86/common/compiler.h @@ -97,7 +97,7 @@ #if defined(DO_PROTOTYPES) #if !defined(__arm__) -#if !defined(__sparc__) && !defined(__sparc) && !defined(__arm32__) && !defined(__nds32__) \ +#if !defined(__sparc__) && !defined(__arm32__) && !defined(__nds32__) \ && !(defined(__alpha__) && defined(linux)) \ && !(defined(__ia64__) && defined(linux)) \ && !(defined(__mips64) && defined(linux)) \ @@ -1097,7 +1097,7 @@ extern _X_EXPORT void xf86SlowBCopyToBus(unsigned char *, unsigned char *, int); xf86WriteMmio32Le(base, offset, (CARD32)(val)) #endif -#elif defined(__sparc__) || defined(sparc) || defined(__sparc) +#elif defined(__sparc__) /* * Like powerpc, we provide byteswapping and no byteswapping functions * here with byteswapping as default, drivers that don't need byteswapping |