Przeglądaj źródła

added size_t type in ctypes.pp for non unix systems

git-svn-id: trunk@11752 -
ivost 17 lat temu
rodzic
commit
7582f7f325
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      rtl/inc/ctypes.pp

+ 2 - 0
rtl/inc/ctypes.pp

@@ -72,6 +72,8 @@ type
   culong                 = cardinal;           pculong                = ^culong;
   culong                 = cardinal;           pculong                = ^culong;
 {$endif}
 {$endif}
 
 
+  size_t                 = clong;              psize_t                = ^size_t;
+
 // Kylix compat types
 // Kylix compat types
   u_long  = culong;
   u_long  = culong;
   u_short = cushort;
   u_short = cushort;