aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/USongs.pas
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Game/Code/Classes/USongs.pas8
1 files changed, 3 insertions, 5 deletions
diff --git a/Game/Code/Classes/USongs.pas b/Game/Code/Classes/USongs.pas
index 53d5556f..97e8d073 100644
--- a/Game/Code/Classes/USongs.pas
+++ b/Game/Code/Classes/USongs.pas
@@ -17,9 +17,7 @@ interface
uses
{$IFDEF MSWINDOWS}
Windows,
- {$IFDEF Delphi}
- DirWatch,
- {$ENDIF}
+ DirWatch,
{$ELSE}
{$IFNDEF DARWIN}
syscall,
@@ -66,7 +64,7 @@ type
fWatch : longint;
fParseSongDirectory : boolean;
fProcessing : boolean;
- {$ifdef Delphi}
+ {$ifdef MSWINDOWS}
fDirWatch : TDirectoryWatch;
{$endif}
procedure int_LoadSongList;
@@ -151,7 +149,7 @@ begin
SongList := TList.create();
- {$ifdef Delphi}
+ {$ifdef MSWINDOWS}
fDirWatch := TDirectoryWatch.create(nil);
fDirWatch.OnChange := DoDirChanged;
fDirWatch.Directory := SongPath;