Просмотр исходного кода

* moved SIG_MAXSIG and wordsinsigset constants from bunxtype.inc to
ptypes.inc (already there for Darwin)

Jonas Maebe 21 лет назад
Родитель
Сommit
d6743c1491
4 измененных файлов с 26 добавлено и 5 удалено
  1. 5 3
      rtl/bsd/bunxtype.inc
  2. 9 1
      rtl/freebsd/ptypes.inc
  3. 9 1
      rtl/netbsd/ptypes.inc
  4. 3 0
      rtl/openbsd/ptypes.inc

+ 5 - 3
rtl/bsd/bunxtype.inc

@@ -37,9 +37,7 @@
 //    _UTSNAME_NODENAME_LENGTH = ;
 //    _UTSNAME_NODENAME_LENGTH = ;
 
 
 CONST                		// OS specific parameters for general<fd,sig>set behaviour
 CONST                		// OS specific parameters for general<fd,sig>set behaviour
-   SIG_MAXSIG      = 128;	// highest signal version
    FD_MAXFDSET	   = 1024;
    FD_MAXFDSET	   = 1024;
-   wordsinsigset   = 4;		// words in sigset_t
    ln2bitsinword   = 5;         { 32bit : ln(32)/ln(2)=5 } 
    ln2bitsinword   = 5;         { 32bit : ln(32)/ln(2)=5 } 
    ln2bitmask	   = 1 shl ln2bitsinword - 1;
    ln2bitmask	   = 1 shl ln2bitsinword - 1;
 
 
@@ -214,7 +212,11 @@ CONST
 
 
 {
 {
   $Log$
   $Log$
-  Revision 1.6  2003-11-30 12:40:29  marco
+  Revision 1.7  2004-01-04 20:08:45  jonas
+    * moved SIG_MAXSIG and wordsinsigset constants from bunxtype.inc to
+      ptypes.inc (already there for Darwin)
+
+  Revision 1.6  2003/11/30 12:40:29  marco
    * fix from sebastian
    * fix from sebastian
 
 
   Revision 1.5  2003/11/19 17:11:40  marco
   Revision 1.5  2003/11/19 17:11:40  marco

+ 9 - 1
rtl/freebsd/ptypes.inc

@@ -98,9 +98,17 @@ CONST
 
 
     SYS_NMLN = 32;              {BSD utsname struct limit}
     SYS_NMLN = 32;              {BSD utsname struct limit}
 
 
+    SIG_MAXSIG      = 128;	// highest signal version
+    wordsinsigset   = 4;		// words in sigset_t
+
+
 {
 {
   $Log$
   $Log$
-  Revision 1.8  2003-12-30 12:32:30  marco
+  Revision 1.9  2004-01-04 20:08:45  jonas
+    * moved SIG_MAXSIG and wordsinsigset constants from bunxtype.inc to
+      ptypes.inc (already there for Darwin)
+
+  Revision 1.8  2003/12/30 12:32:30  marco
   *** empty log message ***
   *** empty log message ***
 
 
   Revision 1.7  2003/09/27 13:45:58  peter
   Revision 1.7  2003/09/27 13:45:58  peter

+ 9 - 1
rtl/netbsd/ptypes.inc

@@ -99,9 +99,17 @@ CONST
 
 
     SYS_NMLN = 32;              {BSD utsname struct limit}
     SYS_NMLN = 32;              {BSD utsname struct limit}
 
 
+    SIG_MAXSIG      = 128;	// highest signal version
+    wordsinsigset   = 4;		// words in sigset_t
+
+
 {
 {
   $Log$
   $Log$
-  Revision 1.4  2004-01-04 01:11:28  marco
+  Revision 1.5  2004-01-04 20:08:45  jonas
+    * moved SIG_MAXSIG and wordsinsigset constants from bunxtype.inc to
+      ptypes.inc (already there for Darwin)
+
+  Revision 1.4  2004/01/04 01:11:28  marco
    * a new qod port of the freebsd rtl. To be refined in the coming days.
    * a new qod port of the freebsd rtl. To be refined in the coming days.
 
 
   Revision 1.3  2003/01/17 22:13:47  marco
   Revision 1.3  2003/01/17 22:13:47  marco

+ 3 - 0
rtl/openbsd/ptypes.inc

@@ -61,3 +61,6 @@ CONST
     PATH_MAX = 1024;    {255}   { Maximum number of bytes in pathname }
     PATH_MAX = 1024;    {255}   { Maximum number of bytes in pathname }
 
 
     SYS_NMLN = 256;             {BSD utsname struct limit}
     SYS_NMLN = 256;             {BSD utsname struct limit}
+
+    SIG_MAXSIG      = 128;	// highest signal version
+    wordsinsigset   = 4;		// words in sigset_t