mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-05 00:37:11 +01:00
IDE: removed fpc 2.2.0 workaround
git-svn-id: trunk@18576 -
This commit is contained in:
parent
1b27aa17ef
commit
0d67f9edaa
@ -517,13 +517,8 @@ 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:=ExtractShortPathNameUTF8(MakeIDECfgFilename);
|
||||
{$ENDIF}
|
||||
ExtraOptions:='@'+MakeIDECfgFilename;
|
||||
exit;
|
||||
end;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user