projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0941534
)
improve haiku portability, patch by Paul Davey.
author
Chris Lattner
<sabre@nondot.org>
Sat, 10 Apr 2010 17:54:51 +0000
(17:54 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 10 Apr 2010 17:54:51 +0000
(17:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100933
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/System/Unix/Program.inc
patch
|
blob
|
history
diff --git
a/lib/System/Unix/Program.inc
b/lib/System/Unix/Program.inc
index b4cc875df8c7765e691e0e39bef893e174834aab..bad48375bdb68af13009181678eff96562c77838 100644
(file)
--- a/
lib/System/Unix/Program.inc
+++ b/
lib/System/Unix/Program.inc
@@
-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;