mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 11:08:02 +02:00
------------------------------------------------------------------------
r42061 | pierre | 2019-05-14 04:31:36 +0000 (Tue, 14 May 2019) | 1 line Add new files required to fix RTL compilation for macos target ------------------------------------------------------------------------ --- Merging r42061 into '.': A rtl/macos/classes.pp A rtl/macos/tthread.inc --- Recording mergeinfo for merge of r42061 into '.': U . git-svn-id: branches/fixes_3_2@43195 -
This commit is contained in:
parent
6eacae0a5a
commit
1e9677e20e
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -9788,6 +9788,7 @@ rtl/macos/MPWmake -text
|
||||
rtl/macos/Makefile svneol=native#text/plain
|
||||
rtl/macos/Makefile.fpc svneol=native#text/plain
|
||||
rtl/macos/README.txt svneol=native#text/plain
|
||||
rtl/macos/classes.pp svneol=native#text/plain
|
||||
rtl/macos/dos.pp svneol=native#text/plain
|
||||
rtl/macos/macos.pp svneol=native#text/plain
|
||||
rtl/macos/macostp.inc svneol=native#text/plain
|
||||
@ -9802,6 +9803,7 @@ rtl/macos/sysos.inc svneol=native#text/plain
|
||||
rtl/macos/sysosh.inc svneol=native#text/plain
|
||||
rtl/macos/system.pp svneol=native#text/plain
|
||||
rtl/macos/sysutils.pp svneol=native#text/plain
|
||||
rtl/macos/tthread.inc svneol=native#text/plain
|
||||
rtl/mips/cpuh.inc svneol=native#text/plain
|
||||
rtl/mips/int64p.inc svneol=native#text/plain
|
||||
rtl/mips/makefile.cpu svneol=native#text/plain
|
||||
|
45
rtl/macos/classes.pp
Normal file
45
rtl/macos/classes.pp
Normal file
@ -0,0 +1,45 @@
|
||||
{
|
||||
This file is part of the Free Component Library (FCL)
|
||||
Copyright (c) 1999-2000 by Michael Van Canneyt and Florian Klaempfl
|
||||
|
||||
Classes unit for BeOS
|
||||
|
||||
See the file COPYING.FPC, included in this distribution,
|
||||
for details about the copyright.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
**********************************************************************}
|
||||
|
||||
{$mode objfpc}
|
||||
|
||||
{ determine the type of the resource/form file }
|
||||
{$define Win16Res}
|
||||
|
||||
unit Classes;
|
||||
|
||||
interface
|
||||
|
||||
uses
|
||||
sysutils,
|
||||
rtlconsts,
|
||||
types,
|
||||
typinfo;
|
||||
|
||||
{$i classesh.inc}
|
||||
|
||||
implementation
|
||||
|
||||
{ OS - independent class implementations are in /inc directory. }
|
||||
{$i classes.inc}
|
||||
|
||||
|
||||
initialization
|
||||
CommonInit;
|
||||
|
||||
finalization
|
||||
CommonCleanup;
|
||||
|
||||
end.
|
86
rtl/macos/tthread.inc
Normal file
86
rtl/macos/tthread.inc
Normal file
@ -0,0 +1,86 @@
|
||||
{
|
||||
This file is part of the Free Component Library (FCL)
|
||||
Copyright (c) 1999-2000 by the Free Pascal development team
|
||||
|
||||
See the file COPYING.FPC, included in this distribution,
|
||||
for details about the copyright.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
**********************************************************************}
|
||||
{****************************************************************************}
|
||||
{* TThread *}
|
||||
{****************************************************************************}
|
||||
|
||||
|
||||
procedure TThread.CallOnTerminate;
|
||||
|
||||
begin
|
||||
end;
|
||||
|
||||
|
||||
function TThread.GetPriority: TThreadPriority;
|
||||
|
||||
begin
|
||||
GetPriority:=tpNormal;
|
||||
end;
|
||||
|
||||
|
||||
procedure TThread.SetPriority(Value: TThreadPriority);
|
||||
|
||||
begin
|
||||
end;
|
||||
|
||||
|
||||
procedure TThread.SetSuspended(Value: Boolean);
|
||||
|
||||
begin
|
||||
end;
|
||||
|
||||
|
||||
procedure TThread.DoTerminate;
|
||||
|
||||
begin
|
||||
end;
|
||||
|
||||
|
||||
procedure TThread.SysCreate(CreateSuspended: Boolean; const StackSize: SizeUInt);
|
||||
|
||||
begin
|
||||
{IsMultiThread := TRUE; }
|
||||
end;
|
||||
|
||||
|
||||
procedure TThread.SysDestroy;
|
||||
|
||||
begin
|
||||
end;
|
||||
|
||||
|
||||
procedure TThread.Resume;
|
||||
|
||||
begin
|
||||
end;
|
||||
|
||||
|
||||
procedure TThread.Suspend;
|
||||
|
||||
begin
|
||||
end;
|
||||
|
||||
|
||||
procedure TThread.Terminate;
|
||||
|
||||
begin
|
||||
end;
|
||||
|
||||
|
||||
function TThread.WaitFor: Integer;
|
||||
|
||||
begin
|
||||
WaitFor:=0;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user