mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-21 14:51:37 +02:00
Invalid ifdef under fpc 3.1.1 Patch by @minesadorada.
git-svn-id: trunk@53428 -
This commit is contained in:
parent
bfcced5fad
commit
31c4b9c2af
@ -160,7 +160,7 @@ function TPackageInstaller.CompilePackage(const AIDEPackage: TIDEPackage;
|
||||
begin
|
||||
Result := -1;
|
||||
{$if declared(lcl_version)}
|
||||
{$if (lcl_major >= 1) and (lcl_minor >= 7)}
|
||||
{$if (lcl_major > 0) and (lcl_minor > 6)}
|
||||
//DoCompilePackage function is only available with Laz 1.7 +
|
||||
DoOnPackageInstallProgress(imCompilePackage, APackageFile);
|
||||
Result := PackageEditingInterface.DoCompilePackage(AIDEPackage, [pcfCleanCompile, pcfDoNotSaveEditorFiles], False);
|
||||
|
Loading…
Reference in New Issue
Block a user