Xmd.h arch dependency
There is an arch dependency in Xmd.h, and the diff will hopefully allow
progress toward a non-arch dependent version of this file.
Warren
--- /usr/include/X11/Xmd.h 2002-10-08 01:05:41.000000000 -0500
+++ includes/Xmd.h 2002-10-13 22:54:46.000000000 -0500
@@ -55,9 +55,11 @@
/*
* Special per-machine configuration flags.
*/
-#ifdef CRAY
+#if !defined(WORD64) && defined(CRAY)
#define WORD64 /* 64-bit architecture */
#endif
+
+#if !defined(LONG64)
#if defined(__alpha) || defined(__alpha__) || \
defined(__ia64__) || defined(ia64) || \
defined(__sparc64__) || \
@@ -65,7 +67,9 @@
(defined(__hppa__) && defined(__LP64__))
#define LONG64 /* 32/64-bit architecture */
#endif
-#ifdef __sgi
+#endif
+
+#if !defined(LONG64) && defined(__sgi)
#if (_MIPS_SZLONG == 64)
#define LONG64
#endif
--
Treasurer, GOLUM, Inc.
http://www.golum.org
Reply to: