From 78d01d1008973899d931ef44b47d5f0b5f220b0d Mon Sep 17 00:00:00 2001 From: Gerhard Tonn Date: Mon, 28 May 2007 21:48:58 -0400 Subject: Miscellaneous fixes for S/390. --- include/servermd.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'include/servermd.h') 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. -- cgit v1.2.3