summaryrefslogtreecommitdiff
path: root/include/servermd.h
diff options
context:
space:
mode:
authorGerhard Tonn <gt@debian.org>2007-05-28 21:48:58 -0400
committerDavid Nusinow <dnusinow@debian.org>2007-05-28 21:48:58 -0400
commit78d01d1008973899d931ef44b47d5f0b5f220b0d (patch)
tree5ddb524104139da53e126e993a6ec1ff4c88312c /include/servermd.h
parentd98bd4bf908c2c51fcfd3a4c3230de17f2567244 (diff)
Miscellaneous fixes for S/390.
Diffstat (limited to 'include/servermd.h')
-rw-r--r--include/servermd.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/servermd.h b/include/servermd.h
index e6ca11ed2..4f32a9d2b 100644
--- a/include/servermd.h
+++ b/include/servermd.h
@@ -515,7 +515,15 @@ SOFTWARE.
#define GLYPHPADBYTES 4
#define GETLEFTBITS_ALIGNMENT 1
#endif
-
+
+/* linux on IBM S/390 */
+#if defined (linux) && defined (__s390__)
+#define IMAGE_BYTE_ORDER MSBFirst
+#define BITMAP_BIT_ORDER MSBFirst
+#define GLYPHPADBYTES 4
+#define GETLEFTBITS_ALIGNMENT 1
+#endif /* linux/s390 */
+
/* size of buffer to use with GetImage, measured in bytes. There's obviously
* a trade-off between the amount of stack (or whatever ALLOCATE_LOCAL gives
* you) used and the number of times the ddx routine has to be called.