compilation fixes for minimal build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2008-08-25 19:28:26 +00:00
parent 1a7cfc94a3
commit 82db3c3d9d

View File

@ -1309,7 +1309,7 @@ private:
DECLARE_NO_COPY_CLASS(wxEndHandler)
};
#if wxUSE_STREAMS
#if HAS_PIPE_INPUT_STREAM
// class for monitoring our ends of child stdout/err, should be constructed
// with the FD and stream from wxExecuteData and will do nothing if they're
@ -1338,7 +1338,7 @@ private:
DECLARE_NO_COPY_CLASS(wxRedirectedIOHandler)
};
#endif // wxUSE_STREAMS
#endif // HAS_PIPE_INPUT_STREAM
// helper function which calls waitpid() and analyzes the result
int DoWaitForChild(int pid, int flags = 0)
@ -1413,7 +1413,7 @@ int wxAppTraits::WaitForChild(wxExecuteData& execData)
}
//else: synchronous execution case
#if wxUSE_STREAMS
#if HAS_PIPE_INPUT_STREAM
wxProcess * const process = execData.process;
if ( process && process->IsRedirected() )
{
@ -1437,7 +1437,7 @@ int wxAppTraits::WaitForChild(wxExecuteData& execData)
}
}
//else: no IO redirection, just block waiting for the child to exit
#endif // wxUSE_STREAMS
#endif // HAS_PIPE_INPUT_STREAM
return DoWaitForChild(execData.pid);
}