patch to not check EPOLL - prevents FTBFS in debian

This commit is contained in:
Marcos Pinto 2007-05-27 14:29:03 +00:00
parent 1aab78442f
commit 02e349abc0
1 changed files with 0 additions and 3 deletions

View File

@ -24,8 +24,6 @@
#include <linux/version.h> #include <linux/version.h>
#include "asio/detail/pop_options.hpp" #include "asio/detail/pop_options.hpp"
#if LINUX_VERSION_CODE >= KERNEL_VERSION (2,5,45) // Only kernels >= 2.5.45.
// Define this to indicate that epoll is supported on the target platform. // Define this to indicate that epoll is supported on the target platform.
#define ASIO_HAS_EPOLL 1 #define ASIO_HAS_EPOLL 1
@ -38,7 +36,6 @@ class epoll_reactor;
} // namespace detail } // namespace detail
} // namespace asio } // namespace asio
#endif // LINUX_VERSION_CODE >= KERNEL_VERSION (2,5,45)
#endif // defined(__linux__) #endif // defined(__linux__)
#endif // !defined(ASIO_DISABLE_EPOLL) #endif // !defined(ASIO_DISABLE_EPOLL)