mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 22:04:55 +00:00
improve haiku portability, patch by Paul Davey.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100933 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0941534c71
commit
47e476609b
@ -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…
Reference in New Issue
Block a user