mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 14:29:33 +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
|
implementation
|
||||||
|
|
||||||
uses
|
uses
|
||||||
SysUtils, FileUtils, Forms, Windows;
|
{$ifndef fpc}Windows, {$endif}SysUtils, FileUtils, Forms;
|
||||||
|
|
||||||
function GetHelpFilePath: string;
|
function GetHelpFilePath: string;
|
||||||
var
|
var
|
||||||
@ -80,6 +80,7 @@ var
|
|||||||
begin
|
begin
|
||||||
HelpFilePath := IncludeTrailingPathDelimiter(ExtractFilePath(Application.ExeName)) +
|
HelpFilePath := IncludeTrailingPathDelimiter(ExtractFilePath(Application.ExeName)) +
|
||||||
HELP_FILE_NAME;
|
HELP_FILE_NAME;
|
||||||
|
{$ifndef fpc}
|
||||||
if not FileExists(HelpFilePath) then
|
if not FileExists(HelpFilePath) then
|
||||||
begin
|
begin
|
||||||
HelpFilePath := IncludeTrailingPathDelimiter(
|
HelpFilePath := IncludeTrailingPathDelimiter(
|
||||||
@ -122,6 +123,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
{$endif}
|
||||||
Result := HelpFilePath;
|
Result := HelpFilePath;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user