Browse Source

Fix FpSigProcMask overload for OpenBSD: Warning this probably breaks compilation of unix's RTL by obsolete 2.4.4 release compiler, 2.6.0 required

git-svn-id: trunk@21005 -
pierre 13 years ago
parent
commit
cea6ca2df9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/unix/bunxh.inc

+ 1 - 1
rtl/unix/bunxh.inc

@@ -21,7 +21,7 @@ Type TGrpArr = Array [0..0] of TGid;            { C style array workarounds}
 // if you are looking for macro definitions or non C template overloaded versions, they are moved to bunxovlh.inc
 // if you are looking for macro definitions or non C template overloaded versions, they are moved to bunxovlh.inc
 
 
     Function  FpSigProcMask  (how : cInt; nset : pSigSet; oset : pSigSet): cInt; external name 'FPC_SYSC_SIGPROCMASK';
     Function  FpSigProcMask  (how : cInt; nset : pSigSet; oset : pSigSet): cInt; external name 'FPC_SYSC_SIGPROCMASK';
-    Function  FpSigProcMask  (how : cInt; Const nset : TSigSet; var oset : TSigSet): cInt; external name 'FPC_SYSC_SIGPROCMASK';
+    Function  FpSigProcMask  (how : cInt; constref nset : TSigSet; var oset : TSigSet): cInt; external name 'FPC_SYSC_SIGPROCMASK';
     Function  FpSigPending   (var nset : TSigSet): cInt;
     Function  FpSigPending   (var nset : TSigSet): cInt;
     Function  FpSigSuspend   (Const sigmask : TSigSet): cInt;
     Function  FpSigSuspend   (Const sigmask : TSigSet): cInt;
 {$ifndef FPC_SYS_SIGTIMEDWAIT_UNAVAILABLE}
 {$ifndef FPC_SYS_SIGTIMEDWAIT_UNAVAILABLE}