diff options
| author | florian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2009-02-01 10:30:55 +0000 |
|---|---|---|
| committer | florian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2009-02-01 10:30:55 +0000 |
| commit | a2fefa87d7d7ee76090a1432fad31bf097b02869 (patch) | |
| tree | 1432b24bb477c645c5e3145ded97b7741c727819 /packages/pthreads/src | |
| parent | 3c64d560d7359fed8d866ab8beca6840e6caafed (diff) | |
| download | fpc-a2fefa87d7d7ee76090a1432fad31bf097b02869.tar.gz | |
o Haiku patches by Olivier Coursiere
+ add posix thread support
* improve signal handling
* synchronize haiku's baseunix unit with the unix one (maybe it will be possible to remove Haiku's one in a future patch, but i keep it for now)
+ add support for standard sockets
* fix some functions import to use the right libraries under Haiku
* fix packages compilation
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@12636 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/pthreads/src')
| -rw-r--r-- | packages/pthreads/src/pthreads.pp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/packages/pthreads/src/pthreads.pp b/packages/pthreads/src/pthreads.pp index 11c107af3b..2ace16a57b 100644 --- a/packages/pthreads/src/pthreads.pp +++ b/packages/pthreads/src/pthreads.pp @@ -35,7 +35,11 @@ uses initc,BaseUnix, unixtype; {$else} {$ifdef beos} uses initc, ctypes, baseunix, unixtype; - {$i pthrbeos.inc} + {$ifdef haiku} + {$i pthrhaiku.inc} + {$else} + {$i pthrbeos.inc} + {$endif} {$else} {$error operating system not detected} {$endif} @@ -45,4 +49,4 @@ uses initc,BaseUnix, unixtype; implementation -end. +end.
\ No newline at end of file |
