mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
Fix the "#ifndef HAVE_SYS_WAIT_H" code path in Program.inc to compile
Without this fix, WaitResult is not defined. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200259 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
66aefa805b
commit
01df6842c1
@ -418,6 +418,7 @@ ProcessInfo sys::Wait(const ProcessInfo &PI, unsigned SecondsToWait,
|
|||||||
#else
|
#else
|
||||||
if (ErrMsg)
|
if (ErrMsg)
|
||||||
*ErrMsg = "Program::Wait is not implemented on this platform yet!";
|
*ErrMsg = "Program::Wait is not implemented on this platform yet!";
|
||||||
|
ProcessInfo WaitResult;
|
||||||
WaitResult.ReturnCode = -2;
|
WaitResult.ReturnCode = -2;
|
||||||
#endif
|
#endif
|
||||||
return WaitResult;
|
return WaitResult;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user