jcf: fix JCFHelp compilation on linux

git-svn-id: trunk@17824 -
This commit is contained in:
paul 2008-12-13 02:58:28 +00:00
parent 9b9281a5ed
commit ebd3475a31

View File

@ -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;