mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 09:16:13 +02:00
IDE: fixed compilation with fpc 2.2.0
git-svn-id: trunk@15292 -
This commit is contained in:
parent
6aa7877586
commit
ad99296adb
@ -556,8 +556,13 @@ begin
|
||||
// On platforms other than windows, ExtractShortPathName is implemented
|
||||
// too and simply returns the passed file name, so there is no need
|
||||
// for $IFDEF.
|
||||
{$IFNDEF VER2_2_0}
|
||||
// ExtractShortPathName is only available in fpc 2.2.1
|
||||
// fortunately, we don't support a PCP with space on windows for
|
||||
// fpc 2.2.0
|
||||
if pos(' ',MakeIDECfgFilename)>0 then
|
||||
MakeIDECfgFilename:=ExtractShortPathName(MakeIDECfgFilename);
|
||||
{$ENDIF}
|
||||
ExtraOptions:='@'+MakeIDECfgFilename;
|
||||
exit;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user