mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 01:19:37 +02:00
jcf: fix JCFHelp compilation on linux
git-svn-id: trunk@17824 -
This commit is contained in:
parent
9b9281a5ed
commit
ebd3475a31
@ -72,7 +72,7 @@ const
|
||||
implementation
|
||||
|
||||
uses
|
||||
SysUtils, FileUtils, Forms, Windows;
|
||||
{$ifndef fpc}Windows, {$endif}SysUtils, FileUtils, Forms;
|
||||
|
||||
function GetHelpFilePath: string;
|
||||
var
|
||||
@ -80,6 +80,7 @@ var
|
||||
begin
|
||||
HelpFilePath := IncludeTrailingPathDelimiter(ExtractFilePath(Application.ExeName)) +
|
||||
HELP_FILE_NAME;
|
||||
{$ifndef fpc}
|
||||
if not FileExists(HelpFilePath) then
|
||||
begin
|
||||
HelpFilePath := IncludeTrailingPathDelimiter(
|
||||
@ -122,6 +123,7 @@ begin
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
{$endif}
|
||||
Result := HelpFilePath;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user