Browse Source

+ made FCL to build on MorphOS

git-svn-id: trunk@4602 -
Károly Balogh 19 years ago
parent
commit
4a840be62c
4 changed files with 48 additions and 0 deletions
  1. 2 0
      .gitattributes
  2. 2 0
      fcl/fpcunit/fpcunit.pp
  3. 22 0
      fcl/morphos/eventlog.inc
  4. 22 0
      fcl/morphos/pipes.inc

+ 2 - 0
.gitattributes

@@ -895,6 +895,8 @@ fcl/inc/xregreg.inc svneol=native#text/plain
 fcl/inc/zipper.pp svneol=native#text/plain
 fcl/inc/zstream.pp svneol=native#text/plain
 fcl/linux/syncobjs.pp svneol=native#text/plain
+fcl/morphos/eventlog.inc svneol=native#text/plain
+fcl/morphos/pipes.inc svneol=native#text/plain
 fcl/net/Makefile svneol=native#text/plain
 fcl/net/Makefile.fpc svneol=native#text/plain
 fcl/net/fpmake.inc svneol=native#text/plain

+ 2 - 0
fcl/fpcunit/fpcunit.pp

@@ -18,7 +18,9 @@ unit fpcunit;
 {$h+}
 
 interface
+{$IFNDEF MORPHOS}
 {$DEFINE SHOWLINEINFO}
+{$ENDIF}
 { Uncomment this define to remove the DUnit compatibility interface. }
 {$DEFINE DUnit}
 

+ 22 - 0
fcl/morphos/eventlog.inc

@@ -0,0 +1,22 @@
+{
+    This file is part of the Free Pascal run time library.
+    Copyright (c) 2003 by the Free Pascal development team
+
+    Generic event logging facility.
+
+    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.
+
+ **********************************************************************}
+
+{ ---------------------------------------------------------------------
+    Include event log that maps to file event log.
+  ---------------------------------------------------------------------}
+
+{$i felog.inc}
+
+

+ 22 - 0
fcl/morphos/pipes.inc

@@ -0,0 +1,22 @@
+{
+    This file is part of the Free Pascal run time library.
+    Copyright (c) 1999-2000 by Michael Van Canneyt
+
+    AmigaOS specific part of pipe stream.
+
+    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.
+
+ **********************************************************************}
+
+// Unsupported for the moment...
+
+Function CreatePipeHandles (Var Inhandle,OutHandle : Longint) : Boolean;
+
+begin
+  Result := False;
+end;