From 9662961394978b785ca344be846a4a7a78144bb9 Mon Sep 17 00:00:00 2001 From: micha Date: Wed, 3 May 2006 17:40:41 +0000 Subject: [PATCH] define ULONG_PTR for non-windows and 2.0.2 git-svn-id: trunk@9233 - --- lcl/lcltype.pp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lcl/lcltype.pp b/lcl/lcltype.pp index 54c8ad9edf..b0a61eb525 100644 --- a/lcl/lcltype.pp +++ b/lcl/lcltype.pp @@ -113,6 +113,8 @@ type LPARAM = type PtrInt; //LongInt; LRESULT = type PtrInt; //LongInt; + ULONG_PTR = type PtrUInt; + {$else} HKEY = Windows.HKEY; HDC = Windows.HDC; @@ -137,6 +139,10 @@ type WPARAM = Windows.WPARAM; LPARAM = Windows.LPARAM; LRESULT = Windows.LRESULT; + +{$if defined(VER2_0_2)} + ULONG_PTR = type PtrUInt; +{$endif} {$endif} TLCLIntfHandle = type THandle;