mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-01 07:11:45 +00:00
improve haiku portability, patch by Paul Davey.
llvm-svn: 100933
This commit is contained in:
parent
caf521c6b4
commit
bb78eb4d82
@ -239,7 +239,9 @@ Program::Wait(unsigned secondsToWait,
|
||||
// fact of having a handler at all causes the wait below to return with EINTR,
|
||||
// unlike if we used SIG_IGN.
|
||||
if (secondsToWait) {
|
||||
#ifndef __HAIKU__
|
||||
Act.sa_sigaction = 0;
|
||||
#endif
|
||||
Act.sa_handler = TimeOutHandler;
|
||||
sigemptyset(&Act.sa_mask);
|
||||
Act.sa_flags = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user