kqueue_reactor_fwd.hpp 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //
  2. // kqueue_reactor_fwd.hpp
  3. // ~~~~~~~~~~~~~~~~~~~~~~
  4. //
  5. // Copyright (c) 2003-2008 Christopher M. Kohlhoff (chris at kohlhoff dot com)
  6. // Copyright (c) 2005 Stefan Arentz (stefan at soze dot com)
  7. //
  8. // Distributed under the Boost Software License, Version 1.0. (See accompanying
  9. // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  10. //
  11. #ifndef BOOST_ASIO_DETAIL_KQUEUE_REACTOR_FWD_HPP
  12. #define BOOST_ASIO_DETAIL_KQUEUE_REACTOR_FWD_HPP
  13. #if defined(_MSC_VER) && (_MSC_VER >= 1200)
  14. # pragma once
  15. #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
  16. #include <boost/asio/detail/push_options.hpp>
  17. #if !defined(BOOST_ASIO_DISABLE_KQUEUE)
  18. #if defined(__MACH__) && defined(__APPLE__)
  19. // Define this to indicate that epoll is supported on the target platform.
  20. #define BOOST_ASIO_HAS_KQUEUE 1
  21. namespace boost {
  22. namespace asio {
  23. namespace detail {
  24. template <bool Own_Thread>
  25. class kqueue_reactor;
  26. } // namespace detail
  27. } // namespace asio
  28. } // namespace boost
  29. #endif // defined(__MACH__) && defined(__APPLE__)
  30. #endif // !defined(BOOST_ASIO_DISABLE_KQUEUE)
  31. #include <boost/asio/detail/pop_options.hpp>
  32. #endif // BOOST_ASIO_DETAIL_KQUEUE_REACTOR_FWD_HPP