From 136969dfd5510c1841013ccc8dc240449ff7b94a Mon Sep 17 00:00:00 2001
From: s_alexander <s_alexander@b956fd51-792f-4845-bead-9b4dfca2ff2c>
Date: Sun, 6 Dec 2009 11:29:07 +0000
Subject: 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
---
 src/lib/pcre/pcre.pas | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

(limited to 'src/lib')

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;
-- 
cgit v1.2.3