[llvm-commits] [llvm] r100933 - /llvm/trunk/lib/System/Unix/Program.inc
Chris Lattner
sabre at nondot.org
Sat Apr 10 10:54:51 PDT 2010
Author: lattner
Date: Sat Apr 10 12:54:51 2010
New Revision: 100933
URL: http://llvm.org/viewvc/llvm-project?rev=100933&view=rev
Log:
improve haiku portability, patch by Paul Davey.
Modified:
llvm/trunk/lib/System/Unix/Program.inc
Modified: llvm/trunk/lib/System/Unix/Program.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/System/Unix/Program.inc?rev=100933&r1=100932&r2=100933&view=diff
==============================================================================
--- llvm/trunk/lib/System/Unix/Program.inc (original)
+++ llvm/trunk/lib/System/Unix/Program.inc Sat Apr 10 12:54:51 2010
@@ -239,7 +239,9 @@
// 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;
More information about the llvm-commits
mailing list