summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitca97c92eb4aafe0064630c49826f0a9c568f9b8f (patch)
treea508ae33037c8210bd83dd57b0d4727a3c851604 /llvm/lib/System
parentad65c6926bb96d96b394a657ef1ec6332623278d (diff)
downloadbcm5719-llvm-ca97c92eb4aafe0064630c49826f0a9c568f9b8f.tar.gz
bcm5719-llvm-ca97c92eb4aafe0064630c49826f0a9c568f9b8f.zip
add some triple for minix, patch by Kees van Reeuwijk from PR7582
llvm-svn: 107785
Diffstat (limited to 'llvm/lib/System')
-rw-r--r--llvm/lib/System/Unix/Program.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/System/Unix/Program.inc b/llvm/lib/System/Unix/Program.inc
index 358415f5266..67018de812e 100644
--- a/llvm/lib/System/Unix/Program.inc
+++ b/llvm/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;
OpenPOWER on IntegriCloud