--- td-1.6.0/tdutils/td/utils/port/config.h.orig +++ td-1.6.0/tdutils/td/utils/port/config.h @@ -34,6 +34,12 @@ #elif TD_WINDOWS #define TD_POLL_WINEVENT 1 #define TD_EVENTFD_WINDOWS 1 +#elif TD_ILLUMOS + #define TD_POLL_EPOLL 1 + #define TD_EVENTFD_LINUX 1 +#elif TD_SOLARIS + #define TD_POLL_POLL 1 + #define TD_EVENTFD_BSD 1 #else #error "Poll's implementation is not defined" #endif