diff options
author | Kevin E Martin <kem@kem.org> | 2004-08-18 18:41:41 +0000 |
---|---|---|
committer | Kevin E Martin <kem@kem.org> | 2004-08-18 18:41:41 +0000 |
commit | 9223baf985778c536ce93846c431b46a0192cf32 (patch) | |
tree | 9bbd1c7b37f20da7cf48c213ee48eb3c2c5aff3e /Xprint | |
parent | a45bc0df7a1c369e8429e84414ac813187c90059 (diff) |
Fix AIX build problems (Bugs #1020, 1102, 1103, Dan McNichol).
Remove old config files (Bug #1123, Jim Gettys).
Remove old log message (Bug #1123, Jim Gettys).
Diffstat (limited to 'Xprint')
-rw-r--r-- | Xprint/ps/PsPixmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Xprint/ps/PsPixmap.c b/Xprint/ps/PsPixmap.c index 2c3e43245..616c2dbe8 100644 --- a/Xprint/ps/PsPixmap.c +++ b/Xprint/ps/PsPixmap.c @@ -79,7 +79,7 @@ in this Software without prior written authorization from The Open Group. #include "Ps.h" -#define BitsPerPixel(d) (\ +#define _BitsPerPixel(d) (\ (1 << PixmapWidthPaddingInfo[d].padBytesLog2) * 8 / \ (PixmapWidthPaddingInfo[d].padRoundUp+1)) @@ -98,7 +98,7 @@ PsCreatePixmap( pPixmap->drawable.class = 0; pPixmap->drawable.pScreen = pScreen; pPixmap->drawable.depth = depth; - pPixmap->drawable.bitsPerPixel = BitsPerPixel(depth); + pPixmap->drawable.bitsPerPixel = _BitsPerPixel(depth); pPixmap->drawable.id = 0; pPixmap->drawable.serialNumber = NEXT_SERIAL_NUMBER; pPixmap->drawable.x = 0; |