IXSelectInterruptPipe.h included in cmake on windows but compiled out

This commit is contained in:
Benjamin Sergeant
2020-07-17 11:33:02 -07:00
parent 87709c201e
commit 595e6c57df
2 changed files with 7 additions and 7 deletions

View File

@ -5,8 +5,10 @@
*/
//
// On macOS we use UNIX pipes to wake up select.
// On UNIX we use pipes to wake up select. There is no way to do that
// on Windows so this file is compiled out on Windows.
//
#ifndef _WIN32
#include "IXSelectInterruptPipe.h"
@ -144,3 +146,5 @@ namespace ix
return _fildes[kPipeReadIndex];
}
} // namespace ix
#endif // !_WIN32