aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/lib/other
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-02-05 15:59:57 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-02-05 15:59:57 +0000
commitaaae25658c97ae3f1b1f00fb8158c93cdb566342 (patch)
tree85405ed6ef5e0665e8f891ed9588013ede471fef /Game/Code/lib/other
parent31056e848f9aa03e4adf40e9480b122bc510f2cf (diff)
downloadusdx-aaae25658c97ae3f1b1f00fb8158c93cdb566342.tar.gz
usdx-aaae25658c97ae3f1b1f00fb8158c93cdb566342.tar.xz
usdx-aaae25658c97ae3f1b1f00fb8158c93cdb566342.zip
Made this FPC (for windows) compatible
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@821 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/lib/other')
-rw-r--r--Game/Code/lib/other/DirWatch.pas14
1 files changed, 13 insertions, 1 deletions
diff --git a/Game/Code/lib/other/DirWatch.pas b/Game/Code/lib/other/DirWatch.pas
index 88c3489e..b14fa791 100644
--- a/Game/Code/lib/other/DirWatch.pas
+++ b/Game/Code/lib/other/DirWatch.pas
@@ -23,8 +23,20 @@ unit DirWatch;
interface
+{$IFDEF FPC}
+ {$MODE Delphi}
+{$ENDIF}
+
uses
- Windows, Messages, SysUtils, Forms, Classes;
+ Windows,
+ Messages,
+ SysUtils,
+ {$IFDEF LCL}
+ LCLIntf, // used for AllocateHWnd
+ {$ELSE}
+ Forms,
+ {$ENDIF}
+ Classes;
type
TNotifyFilters = set of (nfFilename, nfDirname, nfAttrib,