소스 검색

* fixed the definition of XEventClass on 64-bit targets

git-svn-id: trunk@33616 -
nickysn 9 년 전
부모
커밋
6bcf869c26
1개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 5 2
      packages/x11/src/xi.pp

+ 5 - 2
packages/x11/src/xi.pp

@@ -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;