summaryrefslogtreecommitdiff
path: root/packages/pxlib
diff options
context:
space:
mode:
authormichael <michael@3ad0048d-3df7-0310-abae-a5850022a9f2>2008-01-30 10:52:34 +0000
committermichael <michael@3ad0048d-3df7-0310-abae-a5850022a9f2>2008-01-30 10:52:34 +0000
commit977cca76c848c5311ef2e7ba1007f30ee9bcfd9d (patch)
tree4d981821e3f219bbddf07bd2532854ea81903d3a /packages/pxlib
parentc3ef0d485df5b5c55857a13a56e40c23f4b80f06 (diff)
downloadfpc-977cca76c848c5311ef2e7ba1007f30ee9bcfd9d.tar.gz
* Unixtype removed for non-unix
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@10114 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/pxlib')
-rw-r--r--packages/pxlib/src/pxlib.pp11
1 files changed, 9 insertions, 2 deletions
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;