diff --git a/coroio/all.hpp b/coroio/all.hpp index a4de377..94ba3b7 100644 --- a/coroio/all.hpp +++ b/coroio/all.hpp @@ -29,4 +29,12 @@ #include "promises.hpp" #include "socket.hpp" #include "corochain.hpp" -#include "sockutils.hpp" \ No newline at end of file +#include "sockutils.hpp" + +#if defined(__APPLE__) || defined(__FreeBSD__) +using TDefaultPoller = NNet::TKqueue; +#elif defined(__linux__) +using TDefaultPoller = NNet::TEPoll; +#else +using TDefaultPoller = NNet::TPoll; +#endif