Browse Source

* small BSD gotcha removed (typing mmap params)

marco 22 years ago
parent
commit
ca823630a1
1 changed files with 4 additions and 5 deletions
  1. 4 5
      rtl/unix/systhrds.pp

+ 4 - 5
rtl/unix/systhrds.pp

@@ -209,12 +209,8 @@ CONST
 	{$ifdef ver1_0}
 	{$ifdef ver1_0}
         Fpmunmap(longint(pthread_getspecific(tlskey)),threadvarblocksize);
         Fpmunmap(longint(pthread_getspecific(tlskey)),threadvarblocksize);
 	{$else}
 	{$else}
-	{$ifdef BSD} // don't ask :-) 
-        Fpmunmap(longint(pthread_getspecific(tlskey)),threadvarblocksize);
-	{$else}
         Fpmunmap(pointer(pthread_getspecific(tlskey)),threadvarblocksize);
         Fpmunmap(pointer(pthread_getspecific(tlskey)),threadvarblocksize);
 	{$endif}
 	{$endif}
-	{$endif}
       end;
       end;
 
 
 { Include OS independent Threadvar initialization }
 { Include OS independent Threadvar initialization }
@@ -436,7 +432,10 @@ initialization
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.10  2003-09-15 20:08:49  marco
+  Revision 1.11  2003-09-16 13:00:02  marco
+   * small BSD gotcha removed (typing mmap params)
+
+  Revision 1.10  2003/09/15 20:08:49  marco
    * small fixes. FreeBSD now cycles
    * small fixes. FreeBSD now cycles
 
 
   Revision 1.9  2003/09/14 20:15:01  marco
   Revision 1.9  2003/09/14 20:15:01  marco