Browse Source

+ Compiles on BSD too now

michael 22 years ago
parent
commit
e85e5fa94f
1 changed files with 7 additions and 2 deletions
  1. 7 2
      rtl/unix/cthreads.pp

+ 7 - 2
rtl/unix/cthreads.pp

@@ -15,7 +15,9 @@
 
 
  **********************************************************************}
  **********************************************************************}
 {$mode objfpc}
 {$mode objfpc}
-{$define dynpthreads}
+{$ifdef linux}
+{$define dynpthreads} // Useless on BSD, since they are in libc
+{$endif}
 
 
 unit cthreads;
 unit cthreads;
 interface
 interface
@@ -417,7 +419,10 @@ initialization
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.2  2003-11-27 20:16:59  michael
+  Revision 1.3  2003-11-27 20:24:53  michael
+  + Compiles on BSD too now
+
+  Revision 1.2  2003/11/27 20:16:59  michael
   + Make works with 1.0.10 too
   + Make works with 1.0.10 too
 
 
   Revision 1.1  2003/11/26 20:10:59  michael
   Revision 1.1  2003/11/26 20:10:59  michael