mirror of https://github.com/KLayout/klayout.git
Fixed build on Windows (tl::InputPipe::wait was missing)
This commit is contained in:
parent
69c5088278
commit
8ab4868d76
|
|
@ -883,10 +883,17 @@ InputPipe::~InputPipe ()
|
|||
void
|
||||
InputPipe::close ()
|
||||
{
|
||||
wait ();
|
||||
}
|
||||
|
||||
int InputPipe::wait ()
|
||||
{
|
||||
int ret = 0;
|
||||
if (m_file != NULL) {
|
||||
fclose (m_file);
|
||||
ret = _pclose (m_file);
|
||||
m_file = NULL;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
size_t
|
||||
|
|
|
|||
Loading…
Reference in New Issue