mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 09:59:23 +02:00
ide: fied compile on windows
This commit is contained in:
parent
4323a6e9f5
commit
daf7767a51
@ -139,6 +139,12 @@ function GetValueFromIDEConfig(OptionFilename, Path: string): string;
|
|||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
|
{$IFDEF MSWindows}
|
||||||
|
var
|
||||||
|
DefaultFPCVersion: string;
|
||||||
|
DefaultFPCTarget: string;
|
||||||
|
{$ENDIF}
|
||||||
|
|
||||||
function CheckLazarusDirectoryQuality(ADirectory: string;
|
function CheckLazarusDirectoryQuality(ADirectory: string;
|
||||||
out Note: string): TSDFilenameQuality;
|
out Note: string): TSDFilenameQuality;
|
||||||
|
|
||||||
@ -1148,5 +1154,11 @@ begin
|
|||||||
Result:=Nil;
|
Result:=Nil;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
initialization
|
||||||
|
{$IFDEF MSWindows}
|
||||||
|
DefaultFPCTarget:= GetCompiledTargetCPU + '-' + GetCompiledTargetOS;
|
||||||
|
DefaultFPCVersion:= {$I %FPCVERSION%};
|
||||||
|
{$ENDIF}
|
||||||
|
|
||||||
end.
|
end.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user