mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 20:49:49 +02:00
* use same code path for iphonesim as for darwin (should fix mantis #21190)
git-svn-id: trunk@20374 -
This commit is contained in:
parent
bacdd8be81
commit
cc736fe115
@ -34,11 +34,11 @@
|
||||
|
||||
{ Darwin doesn't support nameless semaphores in at least }
|
||||
{ Mac OS X 10.4.8/Darwin 8.8 }
|
||||
{$ifndef darwin}
|
||||
{$if not defined(darwin) and not defined(iphonesim)}
|
||||
{$define has_sem_init}
|
||||
{$define has_sem_getvalue}
|
||||
{$else }
|
||||
{$ifdef darwin}
|
||||
{$if defined(darwin) or defined(iphonesim)}
|
||||
{$define has_sem_open}
|
||||
{$endif}
|
||||
{$endif}
|
||||
@ -53,7 +53,7 @@ interface
|
||||
|
||||
{$ifndef dynpthreads} // If you have problems compiling this on FreeBSD 5.x
|
||||
{$linklib c} // try adding -Xf
|
||||
{$ifndef Darwin}
|
||||
{$if not defined(Darwin) and not defined(iphonesim)}
|
||||
{$ifndef haiku}
|
||||
{$linklib pthread}
|
||||
{$endif haiku}
|
||||
|
Loading…
Reference in New Issue
Block a user