Browse Source

* reverted usage of ctypes.size_t in libxml2

git-svn-id: trunk@11787 -
ivost 17 năm trước cách đây
mục cha
commit
16225a3653
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      packages/libxml/src/libxml2.pas

+ 5 - 0
packages/libxml/src/libxml2.pas

@@ -42,6 +42,11 @@ const
 {$i xmlexports.inc}
 {$i xmlexports.inc}
 {$i xmlversion.inc}
 {$i xmlversion.inc}
 
 
+{$IFDEF WINDOWS}
+type
+  size_t = culong;
+{$ENDIF}
+
 type
 type
   PFILE = pointer;
   PFILE = pointer;
   va_list = pointer;
   va_list = pointer;