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:
66aefa8
)
Fix the "#ifndef HAVE_SYS_WAIT_H" code path in Program.inc to compile
author
Mark Seaborn
<mseaborn@chromium.org>
Mon, 27 Jan 2014 22:53:07 +0000
(22:53 +0000)
committer
Mark Seaborn
<mseaborn@chromium.org>
Mon, 27 Jan 2014 22:53:07 +0000
(22:53 +0000)
Without this fix, WaitResult is not defined.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200259
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/Unix/Program.inc
patch
|
blob
|
history
diff --git
a/lib/Support/Unix/Program.inc
b/lib/Support/Unix/Program.inc
index 78b29714549fcaa076a62d44bf733e68a4ecec8e..5aa024a335201df79b8cb1dc8a43dc4581a405c1 100644
(file)
--- a/
lib/Support/Unix/Program.inc
+++ b/
lib/Support/Unix/Program.inc
@@
-418,6
+418,7
@@
ProcessInfo sys::Wait(const ProcessInfo &PI, unsigned SecondsToWait,
#else
if (ErrMsg)
*ErrMsg = "Program::Wait is not implemented on this platform yet!";
+ ProcessInfo WaitResult;
WaitResult.ReturnCode = -2;
#endif
return WaitResult;