Use select() by default everywhere

PUBLISHED_FROM=474789b0d7f5076434e5c15c079306243f3a8d81
This commit is contained in:
Maxim Ignatenko 2015-09-25 16:17:33 +01:00 committed by Sergey Lyubka
parent 22f8d86b05
commit 93beff3b65

View File

@ -44,10 +44,12 @@
#define MG_INTERNAL static
#endif
#if !defined(MG_MGR_EV_MGR) && defined(__linux__)
#define MG_MGR_EV_MGR 1 /* epoll() */
#endif
#if !defined(MG_MGR_EV_MGR)
/*
* Switches between different methods of handling sockets. Supported values:
* 0 - select()
* 1 - epoll() (Linux only)
*/
#define MG_MGR_EV_MGR 0 /* select() */
#endif