mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 09:38:12 +02:00
Changed ifdef to a system constant for PathSeperator
git-svn-id: trunk@13411 -
This commit is contained in:
parent
dc3f3e4221
commit
95669f7a7c
@ -54,8 +54,6 @@ begin
|
||||
WriteLn(' FPDOCFORMAT, FPDOCPARAMS, FPDOC, FPDOCFOOTER, FPCDOCS, RTLLINKPREFIX, FCLLINKPREFIX');
|
||||
WriteLn;
|
||||
Halt(0);
|
||||
|
||||
|
||||
end;
|
||||
|
||||
procedure ReadOptions;
|
||||
@ -177,7 +175,7 @@ begin
|
||||
if Result then
|
||||
Exit;
|
||||
Paths := TStringList.Create;
|
||||
Paths.Delimiter:={$IFDEF MSWINDOWS}';'{$ELSE}':'{$ENDIF};
|
||||
Paths.Delimiter:=PathSeparator;
|
||||
Paths.DelimitedText := GetEnvironmentVariable('PATH');
|
||||
for I := 0 to Paths.Count-1 do
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user