mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Fix build on old 32 bit Centos (kernel 2.6.18)
This commit is contained in:
@@ -190,6 +190,10 @@ static void set_next_timeout_check(ulonglong abstime);
|
||||
*/
|
||||
|
||||
#if defined (__linux__)
|
||||
#ifndef EPOLLRDHUP
|
||||
/* Early 2.6 kernel did not have EPOLLRDHUP */
|
||||
#define EPOLLRDHUP 0
|
||||
#endif
|
||||
static int io_poll_create()
|
||||
{
|
||||
return epoll_create(1);
|
||||
|
||||
Reference in New Issue
Block a user