libmoost
/home/mhx/git/github/libmoost/include/moost/io/helper.hpp
Go to the documentation of this file.
00001 /* vim:set ts=3 sw=3 sts=3 et: */
00028 #ifndef MOOST_IO_HELPER_HPP__
00029 #define MOOST_IO_HELPER_HPP__
00030 
00039 #include <boost/asio.hpp>
00040 
00041 #if defined(BOOST_ASIO_HAS_WINDOWS_STREAM_HANDLE) && defined(_WIN32)
00042 # include "detail/helper_win32.hpp"
00043 #elif defined(BOOST_ASIO_HAS_POSIX_STREAM_DESCRIPTOR) && (defined(_POSIX_SOURCE) || defined(__CYGWIN__))
00044 # include "detail/helper_posix.hpp"
00045 #else
00046 # error "apparently no i/o helper support has been added for this platform"
00047 #endif
00048 
00049 namespace moost { namespace io {
00050 
00051 typedef detail::helper helper;
00052 
00053 } }
00054 
00055 #endif