1 --- a/boost/asio/detail/impl/eventfd_select_interrupter.ipp
2 +++ b/boost/asio/detail/impl/eventfd_select_interrupter.ipp
7 -#if __GLIBC__ == 2 && __GLIBC_MINOR__ < 8
8 +#if __GLIBC__ == 2 && __GLIBC_MINOR__ < 2
9 # include <asm/unistd.h>
10 -#else // __GLIBC__ == 2 && __GLIBC_MINOR__ < 8
11 +#else // __GLIBC__ == 2 && __GLIBC_MINOR__ < 2
12 # include <sys/eventfd.h>
13 -#endif // __GLIBC__ == 2 && __GLIBC_MINOR__ < 8
14 +#endif // __GLIBC__ == 2 && __GLIBC_MINOR__ < 2
15 #include <boost/asio/detail/cstdint.hpp>
16 #include <boost/asio/detail/eventfd_select_interrupter.hpp>
17 #include <boost/asio/detail/throw_error.hpp>
18 @@ -46,14 +46,14 @@ eventfd_select_interrupter::eventfd_sele
20 void eventfd_select_interrupter::open_descriptors()
22 -#if __GLIBC__ == 2 && __GLIBC_MINOR__ < 8
23 +#if __GLIBC__ == 2 && __GLIBC_MINOR__ < 2
24 write_descriptor_ = read_descriptor_ = syscall(__NR_eventfd, 0);
25 if (read_descriptor_ != -1)
27 ::fcntl(read_descriptor_, F_SETFL, O_NONBLOCK);
28 ::fcntl(read_descriptor_, F_SETFD, FD_CLOEXEC);
30 -#else // __GLIBC__ == 2 && __GLIBC_MINOR__ < 8
31 +#else // __GLIBC__ == 2 && __GLIBC_MINOR__ < 2
32 # if defined(EFD_CLOEXEC) && defined(EFD_NONBLOCK)
33 write_descriptor_ = read_descriptor_ =
34 ::eventfd(0, EFD_CLOEXEC | EFD_NONBLOCK);
35 @@ -70,7 +70,7 @@ void eventfd_select_interrupter::open_de
36 ::fcntl(read_descriptor_, F_SETFD, FD_CLOEXEC);
39 -#endif // __GLIBC__ == 2 && __GLIBC_MINOR__ < 8
40 +#endif // __GLIBC__ == 2 && __GLIBC_MINOR__ < 2
42 if (read_descriptor_ == -1)