diff options
author | s_alexander <s_alexander@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-12-05 14:00:19 +0000 |
---|---|---|
committer | s_alexander <s_alexander@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-12-05 14:00:19 +0000 |
commit | e083259f88f61b9d06e0273d42f6e8e675a88c8d (patch) | |
tree | 5fde68cc6d896f1f5d2150c0418dc00ea63b58aa /src/lib | |
parent | 4c927bd3abb27cb477db47b42c368d356c7002cb (diff) | |
download | usdx-e083259f88f61b9d06e0273d42f6e8e675a88c8d.tar.gz usdx-e083259f88f61b9d06e0273d42f6e8e675a88c8d.tar.xz usdx-e083259f88f61b9d06e0273d42f6e8e675a88c8d.zip |
added SizeInt for non-fpc compilers
added SizeInt (as Integer or Int64) for non-fpc compilers (taken from JclBase)
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1967 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | src/lib/pcre/pcre.pas | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/lib/pcre/pcre.pas b/src/lib/pcre/pcre.pas index d3fa2f28..9e40c347 100644 --- a/src/lib/pcre/pcre.pas +++ b/src/lib/pcre/pcre.pas @@ -368,7 +368,15 @@ function CallPCRECallout(var callout_block: pcre_callout_block): Integer; type TPCRELibNotLoadedHandler = procedure; cdecl; - + {$IFNDEF FPC} + {$IFDEF CPU32} + SizeInt = Integer; + {$ENDIF CPU32} + {$IFDEF CPU64} + SizeInt = Int64; + {$ENDIF CPU64} + PPAnsiChar = ^PAnsiChar; + {$ENDIF ~FPC} PPPAnsiChar = ^PPAnsiChar; var |