mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 21:11:23 +02:00
* fixed the definition of XEventClass on 64-bit targets
git-svn-id: trunk@33616 -
This commit is contained in:
parent
69bb6f5ffa
commit
6bcf869c26
@ -338,12 +338,15 @@ const
|
||||
{ Make XEventClass be a CARD32 for 64 bit servers. Don't affect client
|
||||
definition of XEventClass since that would be a library interface change.
|
||||
See the top of X.h for more _XSERVER64 magic.
|
||||
|
||||
But, don't actually use the CARD32 type. We can't get it defined here
|
||||
without polluting the namespace.
|
||||
}
|
||||
type
|
||||
{$ifdef _XSERVER64}
|
||||
XEventClass = CARD32;
|
||||
XEventClass = cuint;
|
||||
{$ELSE}
|
||||
XEventClass = Longword;
|
||||
XEventClass = culong;
|
||||
{$ENDIF}
|
||||
TXEventClass = XEventClass;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user