From 977cca76c848c5311ef2e7ba1007f30ee9bcfd9d Mon Sep 17 00:00:00 2001 From: michael Date: Wed, 30 Jan 2008 10:52:34 +0000 Subject: * Unixtype removed for non-unix git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@10114 3ad0048d-3df7-0310-abae-a5850022a9f2 --- packages/pxlib/src/pxlib.pp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'packages/pxlib') diff --git a/packages/pxlib/src/pxlib.pp b/packages/pxlib/src/pxlib.pp index cab0242edd..36d237370a 100644 --- a/packages/pxlib/src/pxlib.pp +++ b/packages/pxlib/src/pxlib.pp @@ -7,7 +7,10 @@ unit pxlib; interface uses - ctypes,unixtype; +{$ifdef unix} + unixtype, +{$endif} + ctypes; { Automatically converted by H2Pas 1.0.0 from pxlib.h The following command line parameters were used: @@ -35,7 +38,7 @@ const { 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; { Field types } @@ -83,6 +86,10 @@ Type PDouble = ^Double; Pcchar = pchar; +{$ifndef unix} + size_t = Integer; +{$endif} + PFILE = ^FILE; iconv_t = pointer; -- cgit v1.2.1