mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-07 12:10:45 +02:00
* make fpmkunit shellapi independent by adding the three necessary contants manually,
this makes dependencies easier after r29284, resolves also #27164 git-svn-id: trunk@29285 -
This commit is contained in:
parent
2d4511101d
commit
2eef483aaf
@ -82,7 +82,7 @@ uses
|
||||
cthreads,
|
||||
{$endif UNIX}
|
||||
{$ifdef WINDOWS}
|
||||
windows, ShellApi,
|
||||
windows,
|
||||
{$endif WINDOWS}
|
||||
{$endif NO_THREADING}
|
||||
SysUtils, Classes
|
||||
@ -5144,6 +5144,14 @@ end;
|
||||
procedure TBuildEngine.SysDeleteTree(Const ADirectoryName: String);
|
||||
|
||||
function IntRemoveTree(const ADirectoryName: String) : boolean;
|
||||
{$ifdef WINDOWS}
|
||||
{ pulling in shellapi with all it dependent units and packages makes things too
|
||||
complicated so just add the constants here }
|
||||
const
|
||||
FO_DELETE = $0003;
|
||||
FOF_SILENT = $0004;
|
||||
FOF_NOCONFIRMATION = $0010;
|
||||
{$endif WINDOWS}
|
||||
var
|
||||
i: integer;
|
||||
{$ifdef WINDOWS}
|
||||
|
Loading…
Reference in New Issue
Block a user