aboutsummaryrefslogtreecommitdiffstats
path: root/Game
diff options
context:
space:
mode:
Diffstat (limited to 'Game')
-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,