aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authors_alexander <s_alexander@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-12-06 11:29:07 +0000
committers_alexander <s_alexander@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-12-06 11:29:07 +0000
commit136969dfd5510c1841013ccc8dc240449ff7b94a (patch)
tree8fcdd6267208bc1f9b5678ff20dfd805ce69ad3a
parent841f7c4c93d58475682555c63b430c2917b4dab3 (diff)
downloadusdx-136969dfd5510c1841013ccc8dc240449ff7b94a.tar.gz
usdx-136969dfd5510c1841013ccc8dc240449ff7b94a.tar.xz
usdx-136969dfd5510c1841013ccc8dc240449ff7b94a.zip
tried to make it delphi (win32) compatible
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1971 b956fd51-792f-4845-bead-9b4dfca2ff2c
-rw-r--r--src/lib/pcre/pcre.pas13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/lib/pcre/pcre.pas b/src/lib/pcre/pcre.pas
index cb72faf0..87c2fc65 100644
--- a/src/lib/pcre/pcre.pas
+++ b/src/lib/pcre/pcre.pas
@@ -56,12 +56,6 @@ interface
{$WEAKPACKAGEUNIT ON}
-// (p3) this is the switch to change between static and dynamic linking.
-// It is set to dynamic by default. To disable simply insert a '.' before the '$'
-//
-// NOTE: if you enable static linking of DLL, this means that the pcre.dll *must*
-// be in the users path or an AV will occur at startup
-
(*$HPPEMIT '#include "pcre.h"'*)
const
@@ -262,12 +256,11 @@ const
type
{$IFNDEF FPC}
- {$IFDEF CPU32}
- SizeInt = Integer;
- {$ENDIF CPU32}
{$IFDEF CPU64}
SizeInt = Int64;
- {$ENDIF CPU64}
+ {$ELSE ~CPU64}
+ SizeInt = Integer;
+ {$ENDIF ~CPU64}
PPAnsiChar = ^PAnsiChar;
{$ENDIF ~FPC}
PPPAnsiChar = ^PPAnsiChar;