mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-08 09:23:48 +02:00
* linklibs fixed for new pthread mechanism on FreeBSD
This commit is contained in:
parent
da60da7f06
commit
6309672d16
@ -23,18 +23,11 @@ unit cthreads;
|
|||||||
interface
|
interface
|
||||||
{$S-}
|
{$S-}
|
||||||
|
|
||||||
{$ifndef dynpthreads}
|
{$ifndef dynpthreads} // If you have problems compiling this on FreeBSD 5.x
|
||||||
{$ifndef BSD}
|
{$linklib c} // try adding -Xf
|
||||||
{$linklib c}
|
{$ifndef Darwin}
|
||||||
{$linklib pthread}
|
{$linklib pthread}
|
||||||
{$else}
|
{$endif darwin}
|
||||||
// Link reentrant libc with pthreads
|
|
||||||
{$ifndef darwin}
|
|
||||||
{$linklib c_r}
|
|
||||||
{$else darwin}
|
|
||||||
{$linklib c}
|
|
||||||
{$endif darwin}
|
|
||||||
{$endif}
|
|
||||||
{$endif}
|
{$endif}
|
||||||
|
|
||||||
Procedure SetCThreadManager;
|
Procedure SetCThreadManager;
|
||||||
@ -421,7 +414,10 @@ initialization
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.7 2004-01-20 23:13:53 hajny
|
Revision 1.8 2004-02-15 16:33:32 marco
|
||||||
|
* linklibs fixed for new pthread mechanism on FreeBSD
|
||||||
|
|
||||||
|
Revision 1.7 2004/01/20 23:13:53 hajny
|
||||||
* ExecuteProcess fixes, ProcessID and ThreadID added
|
* ExecuteProcess fixes, ProcessID and ThreadID added
|
||||||
|
|
||||||
Revision 1.6 2004/01/07 17:40:56 jonas
|
Revision 1.6 2004/01/07 17:40:56 jonas
|
||||||
|
Loading…
Reference in New Issue
Block a user