[PATCH 7/9] dix: Remove wacky sparc special casing (v2)

Adam Jackson ajax at redhat.com
Mon Jul 21 07:06:51 PDT 2014


This appears to be defining sparc if ever __sparc or __sparc__ were
defined, which is almost reasonable, but these days we want to be using
the __arch__ style.  Why any of this would ever be triggered on m68k is
truly a mystery for the ages.

v2: Fix commit message, as noted by nix

Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 include/servermd.h | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/include/servermd.h b/include/servermd.h
index 72ce6c0..a544ce5 100644
--- a/include/servermd.h
+++ b/include/servermd.h
@@ -114,16 +114,6 @@ SOFTWARE.
 
 #endif                          /* __m32r__ */
 
-#if (defined(sun) && (defined(__sparc) || defined(sparc))) || \
-    (defined(__uxp__) && (defined(sparc) || defined(mc68000))) || \
-    defined(__sparc__) || defined(__mc68000__)
-
-#if defined(__sparc) || defined(__sparc__)
-#if !defined(sparc)
-#define sparc 1
-#endif
-#endif
-
 #if defined(sun386) || defined(sun5)
 #define IMAGE_BYTE_ORDER	LSBFirst        /* Values for the SUN only */
 #define BITMAP_BIT_ORDER	LSBFirst
@@ -131,7 +121,6 @@ SOFTWARE.
 #define IMAGE_BYTE_ORDER	MSBFirst        /* Values for the SUN only */
 #define BITMAP_BIT_ORDER	MSBFirst
 #endif
-#endif                          /* sun && !(i386 && SVR4) */
 
 #if (defined(mips) || defined(__mips))
 
-- 
1.9.3



More information about the xorg-devel mailing list