summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoralanh <alanh>2001-07-24 08:32:49 +0000
committeralanh <alanh>2001-07-24 08:32:49 +0000
commit3fb7723dc901fcfca046f14e610d9eb3b0751801 (patch)
treedc1f1ce12f448c44e16a04a5104aaa85d1828ecd /include
parentb3cf633baf7860409f1b3f8fe76a4cc1054f202a (diff)
add s390 support to building the tree
Diffstat (limited to 'include')
-rw-r--r--include/DPS/dpsconfig.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/include/DPS/dpsconfig.h b/include/DPS/dpsconfig.h
index e7ca47f29..3a42cfb86 100644
--- a/include/DPS/dpsconfig.h
+++ b/include/DPS/dpsconfig.h
@@ -35,7 +35,7 @@
*
* Author: Adobe Systems Incorporated
*/
-/* $XFree86: xc/include/DPS/dpsconfig.h,v 1.2 2000/08/23 22:10:02 tsi Exp $ */
+/* $XFree86: xc/include/DPS/dpsconfig.h,v 1.3 2000/08/31 19:03:54 tsi Exp $ */
#ifndef DPSCONFIG_H
#define DPSCONFIG_H
@@ -87,7 +87,8 @@
#endif /* _IBMR2 */
#if defined(__alpha) || defined(__alpha__) || \
- defined(__ia64__) || defined(ia64)
+ defined(__ia64__) || defined(ia64) || \
+ defined(__s390x__)
#define IEEEFLOAT 1
#endif /* __alpha */
@@ -127,7 +128,7 @@
#ifndef SWAPBITS
#if defined(__alpha) || defined(__alpha__) || \
- defined(__ia64__) || defined(ia64)
+ defined(__ia64__) || defined(ia64)
#define SWAPBITS 1
#endif /* __alpha */
@@ -151,6 +152,10 @@
#define SWAPBITS 0
#endif /* mc68000 */
+#if defined(__s390x__) || defined (__s390__)
+#define SWAPBITS 0
+#endif /* s390 and s390x */
+
#if (defined(_IBMR2) || defined(_POWER)) && defined(AIXV3)
#define SWAPBITS 0
#endif /* _IBMR2 */
@@ -180,7 +185,8 @@
#ifndef MIN_POINTER_ALIGN
#if defined(__alpha) || defined(__alpha__) || \
- defined(__ia64__) || defined(ia64)
+ defined(__ia64__) || defined(ia64) || \
+ defined(__s390x__)
#define MIN_POINTER_ALIGN 8
#endif /* __alpha */