* 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:
florian 2014-12-14 15:46:26 +00:00
parent 2d4511101d
commit 2eef483aaf

View File

@ -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}