Browse Source

* Unixtype removed for non-unix

git-svn-id: trunk@10114 -
michael 17 years ago
parent
commit
82694127a2
1 changed files with 9 additions and 2 deletions
  1. 9 2
      packages/pxlib/src/pxlib.pp

+ 9 - 2
packages/pxlib/src/pxlib.pp

@@ -7,7 +7,10 @@ unit pxlib;
 interface
 interface
 
 
 uses
 uses
-  ctypes,unixtype;
+{$ifdef unix}
+  unixtype,
+{$endif}  
+  ctypes;
 
 
 { Automatically converted by H2Pas 1.0.0 from pxlib.h
 { Automatically converted by H2Pas 1.0.0 from pxlib.h
   The following command line parameters were used:
   The following command line parameters were used:
@@ -35,7 +38,7 @@ const
   
   
   { IO Stream types  }
   { IO Stream types  }
  
  
-  pxfIOFile = 1;      { pxfIOGsf is defined as 2 in paradox-gsf.h  }
+  pxfIOFile   = 1;      { pxfIOGsf is defined as 2 in paradox-gsf.h  }
   pxfIOStream = 3;   
   pxfIOStream = 3;   
   
   
   { Field types  }
   { Field types  }
@@ -83,6 +86,10 @@ Type
   PDouble   = ^Double;
   PDouble   = ^Double;
   Pcchar    = pchar;
   Pcchar    = pchar;
 
 
+{$ifndef unix}
+  size_t    = Integer;
+{$endif}
+
   PFILE  = ^FILE;
   PFILE  = ^FILE;
   iconv_t = pointer;
   iconv_t = pointer;