diff options
author | Vladislav Vaintroub <wlad@montyprogram.com> | 2011-12-26 01:08:46 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@montyprogram.com> | 2011-12-26 01:08:46 +0100 |
commit | 7da4229f2ef2bdf24b6196991d8e474fa42c1811 (patch) | |
tree | cd9179603b26f9288b5547faccec66e17e1a5f48 /sql/threadpool_unix.cc | |
parent | 711d7452da8690c4e775313b55c92b12595352bd (diff) | |
download | mariadb-git-7da4229f2ef2bdf24b6196991d8e474fa42c1811.tar.gz |
Fix build on old 32 bit Centos (kernel 2.6.18)
Diffstat (limited to 'sql/threadpool_unix.cc')
-rw-r--r-- | sql/threadpool_unix.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/threadpool_unix.cc b/sql/threadpool_unix.cc index 93094f599aa..e0310303020 100644 --- a/sql/threadpool_unix.cc +++ b/sql/threadpool_unix.cc @@ -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); |