summaryrefslogtreecommitdiff
path: root/lib/System
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-07-07 15:52:27 +0000
committerChris Lattner <sabre@nondot.org>2010-07-07 15:52:27 +0000
commit29269d03af6dc3feb69d0230831a059f39c03700 (patch)
tree9076b00f0f2ef7f978e0d3516c3487b6655176ee /lib/System
parentce5172098d5eaae22244c925b608fe62a23baaf2 (diff)
downloadllvm-29269d03af6dc3feb69d0230831a059f39c03700.tar.gz
llvm-29269d03af6dc3feb69d0230831a059f39c03700.tar.bz2
llvm-29269d03af6dc3feb69d0230831a059f39c03700.tar.xz
add some triple for minix, patch by Kees van Reeuwijk from PR7582
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107785 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System')
-rw-r--r--lib/System/Unix/Program.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/Unix/Program.inc b/lib/System/Unix/Program.inc
index 358415f526..67018de812 100644
--- a/lib/System/Unix/Program.inc
+++ b/lib/System/Unix/Program.inc
@@ -310,7 +310,7 @@ 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__
+#if !defined(__HAIKU__) && !defined(__minix)
Act.sa_sigaction = 0;
#endif
Act.sa_handler = TimeOutHandler;