Obsolete golang-120
[oi-userland.git] / components / library / telegramdb / patches / 02-config.patch
bloba90f262d65135a385270ea351bdce3ae2630a813
1 --- td-1.6.0/tdutils/td/utils/port/config.h.orig
2 +++ td-1.6.0/tdutils/td/utils/port/config.h
3 @@ -34,6 +34,12 @@
4 #elif TD_WINDOWS
5 #define TD_POLL_WINEVENT 1
6 #define TD_EVENTFD_WINDOWS 1
7 +#elif TD_ILLUMOS
8 + #define TD_POLL_EPOLL 1
9 + #define TD_EVENTFD_LINUX 1
10 +#elif TD_SOLARIS
11 + #define TD_POLL_POLL 1
12 + #define TD_EVENTFD_BSD 1
13 #else
14 #error "Poll's implementation is not defined"
15 #endif