Fix XSERVER64 should be _XSERVER64

This commit is contained in:
Dave Airlie 2006-02-16 05:18:20 +00:00
parent 1bbd5e49b1
commit c2f685e644
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2006-02-16 Dave Airlie <airlied@freedesktop.org>
* Xext/xres.c: (ProcXResQueryClientPixmapBytes):
Fix XSERVER64 should be _XSERVER64
2006-02-15 Eric Anholt <anholt@FreeBSD.org>
* XTrap/xtrapddmi.c:

View File

@ -2,7 +2,7 @@
Copyright (c) 2002 XFree86 Inc
*/
/* $XFree86: xc/programs/Xserver/Xext/xres.c,v 1.7tsi Exp $ */
/* $XdotOrg: xserver/xorg/Xext/xres.c,v 1.7 2005/07/03 08:53:36 daniels Exp $ */
/* $XdotOrg: xserver/xorg/Xext/xres.c,v 1.8 2006/02/11 19:16:50 alanc Exp $ */
#define NEED_EVENTS
#define NEED_REPLIES
@ -224,7 +224,7 @@ ProcXResQueryClientPixmapBytes (ClientPtr client)
rep.sequenceNumber = client->sequence;
rep.length = 0;
rep.bytes = bytes;
#ifdef XSERVER64
#ifdef _XSERVER64
rep.bytes_overflow = bytes >> 32;
#else
rep.bytes_overflow = 0;