mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Compilation.
This commit is contained in:
parent
69805fa9bc
commit
92f548a6bf
1 changed files with 9 additions and 3 deletions
|
|
@ -99,7 +99,7 @@ type
|
|||
|
||||
TFileSystemWatcherImpl = class(TThread)
|
||||
private
|
||||
FWatcherLock: TCriticalSection;
|
||||
FWatcherLock: syncobjs.TCriticalSection;
|
||||
FOSWatchers: TOSWatchs;
|
||||
{$IF DEFINED(MSWINDOWS)}
|
||||
FWaitEvent: THandle;
|
||||
|
|
@ -491,7 +491,13 @@ begin
|
|||
with FOSWatchers[i].Observers[j] do
|
||||
begin
|
||||
if Assigned(WatcherEvent) then
|
||||
WatcherEvent(FOSWatchers[i].WatchPath, FNotifyData, UserData);
|
||||
WatcherEvent(FOSWatchers[i].WatchPath,
|
||||
{$IFDEF LINUX}
|
||||
FNotifyData,
|
||||
{$ELSE}
|
||||
nil,
|
||||
{$ENDIF}
|
||||
UserData);
|
||||
end;
|
||||
end;
|
||||
|
||||
|
|
@ -898,4 +904,4 @@ finalization
|
|||
TFileSystemWatcher.DestroyFileSystemWatcher;
|
||||
|
||||
end.
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue