浏览代码

Use BeOS specific version of SigAction procedure declaration type

git-svn-id: trunk@37281 -
pierre 7 年之前
父节点
当前提交
9fd998713c
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. 5 2
      packages/fcl-extra/src/unix/daemonapp.inc

+ 5 - 2
packages/fcl-extra/src/unix/daemonapp.inc

@@ -208,9 +208,12 @@ end;
 { ---------------------------------------------------------------------
 { ---------------------------------------------------------------------
   Global initialization/Finalization
   Global initialization/Finalization
   ---------------------------------------------------------------------}
   ---------------------------------------------------------------------}
-
+ 
+{$ifdef BeOS}
+Procedure DoShutDown(Sig : Longint; SigContext: PSigContextRec; uContext : Pvregs);cdecl;
+{$else}
 Procedure DoShutDown(Sig : Longint; Info : PSigInfo; Context : PSigContext); cdecl;
 Procedure DoShutDown(Sig : Longint; Info : PSigInfo; Context : PSigContext); cdecl;
-
+{$endif}
 begin
 begin
   Application.StopDaemons(True);
   Application.StopDaemons(True);
   Application.Terminate;
   Application.Terminate;