fixed compilation for lazconf linux, bsd, macosx

git-svn-id: trunk@6353 -
This commit is contained in:
mattias 2004-12-09 19:29:42 +00:00
parent 6425889e6e
commit 8761771580
6 changed files with 28 additions and 9 deletions

View File

@ -29,8 +29,9 @@
{Should become unit Unix in the future. For both Linux and FreeBSD}
uses
Dos,
{$IFNDEF VER1_0}
BaseUnix,unix;
BaseUnix, Unix;
{$ELSE}
linux;
{$ENDIF}
@ -55,6 +56,9 @@ end;
{
$Log$
Revision 1.5 2004/12/09 19:29:42 mattias
fixed compilation for lazconf linux, bsd, macosx
Revision 1.4 2004/08/22 22:47:43 mattias
implemented context help for source editor

View File

@ -29,10 +29,11 @@
{Should become unit Unix in the future. For both Linux and FreeBSD}
uses
Dos,
{$IFNDEF VER1_0}
BaseUnix,unix;
BaseUnix, Unix;
{$ELSE}
linux;
Linux;
{$ENDIF}
function GetDefaultTargetOS: string;
@ -48,6 +49,9 @@ end;
{
$Log$
Revision 1.16 2004/12/09 19:29:42 mattias
fixed compilation for lazconf linux, bsd, macosx
Revision 1.15 2004/08/20 09:47:36 mattias
added darwin libpaths to Makefile and LCL Usage lib paths

View File

@ -27,10 +27,11 @@
***************************************************************************
}
uses
Dos,
{$IFNDEF VER1_0}
unix,BaseUnix;
Unix, BaseUnix;
{$ELSE}
linux;
Linux;
{$ENDIF}
function GetDefaultTargetOS: string;
@ -55,6 +56,9 @@ end;
{
$Log$
Revision 1.20 2004/12/09 19:29:42 mattias
fixed compilation for lazconf linux, bsd, macosx
Revision 1.19 2004/08/22 22:47:43 mattias
implemented context help for source editor

View File

@ -28,7 +28,8 @@
}
{Should become unit Unix in the future. For both Linux and FreeBSD}
IFNDEF VER1_0
uses
Dos,
{$IFDEF VER1_1}
unix;
{$ELSE}
@ -48,6 +49,9 @@ end;
{
$Log$
Revision 1.12 2004/12/09 19:29:42 mattias
fixed compilation for lazconf linux, bsd, macosx
Revision 1.11 2004/08/20 09:47:36 mattias
added darwin libpaths to Makefile and LCL Usage lib paths

View File

@ -1828,7 +1828,7 @@ var
I: Integer;
OpenFlags: TOpenFlags;
begin
OpenDialog:=TOpenDialog.Create(Application);
OpenDialog:=TOpenDialog.Create(nil);
try
InputHistories.ApplyFileDialogSettings(OpenDialog);
OpenDialog.Title:=lisOpenFile;
@ -2514,8 +2514,8 @@ begin
// open failed
if not FileExists(AFilename) then begin
EnvironmentOptions.RemoveFromRecentProjectFiles(AFilename);
end else
AddRecentProjectFileToEnvironment(AFilename);
end;
end;
end;
end;
@ -10962,6 +10962,9 @@ end.
{ =============================================================================
$Log$
Revision 1.805 2004/12/09 19:29:42 mattias
fixed compilation for lazconf linux, bsd, macosx
Revision 1.804 2004/12/06 23:10:04 vincents
replaced processid by getprocessid for fpc version > 1.9.4

View File

@ -155,7 +155,7 @@ type
procedure UpdateWindowsMenu; override;
procedure SetRecentSubMenu(ParentMenuItem: TMenuItem; FileList: TStringList;
OnClickEvent: TNotifyEvent); override;
OnClickEvent: TNotifyEvent); override;
function DoJumpToCodePosition(
ActiveSrcEdit: TSourceEditorInterface;