forked from Mirrors/openclonk
Poll for stdin close in C4StdInProc
parent
956108b415
commit
1ca46c80ad
|
@ -32,7 +32,7 @@ public:
|
|||
#else
|
||||
void GetFDs(std::vector<struct pollfd> & checkfds) override
|
||||
{
|
||||
pollfd pfd = { 0, POLLIN, 0 };
|
||||
pollfd pfd = { 0, POLLIN | POLLERR | POLLHUP, 0 };
|
||||
checkfds.push_back(pfd);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue