diff options
author | s_alexander <s_alexander@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-12-05 14:06:08 +0000 |
---|---|---|
committer | s_alexander <s_alexander@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-12-05 14:06:08 +0000 |
commit | b8bd3476bb365aef4d005460de2f9ed1e147d013 (patch) | |
tree | 1838b0cc847cc68377c1e953bc713094d5eace09 /src/lib | |
parent | e083259f88f61b9d06e0273d42f6e8e675a88c8d (diff) | |
download | usdx-b8bd3476bb365aef4d005460de2f9ed1e147d013.tar.gz usdx-b8bd3476bb365aef4d005460de2f9ed1e147d013.tar.xz usdx-b8bd3476bb365aef4d005460de2f9ed1e147d013.zip |
moved SizeInt definition to top
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1968 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/pcre/pcre.pas | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/lib/pcre/pcre.pas b/src/lib/pcre/pcre.pas index 9e40c347..cb72faf0 100644 --- a/src/lib/pcre/pcre.pas +++ b/src/lib/pcre/pcre.pas @@ -261,6 +261,17 @@ const {$EXTERNALSYM PCRE_EXTRA_MATCH_LIMIT_RECURSION} type + {$IFNDEF FPC} + {$IFDEF CPU32} + SizeInt = Integer; + {$ENDIF CPU32} + {$IFDEF CPU64} + SizeInt = Int64; + {$ENDIF CPU64} + PPAnsiChar = ^PAnsiChar; + {$ENDIF ~FPC} + PPPAnsiChar = ^PPAnsiChar; + real_pcre = packed record {magic_number: Longword; size: Integer; @@ -368,16 +379,6 @@ 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 // Value to initialize function pointers below with, in case LoadPCRE fails |