18 #include <boost/asio.hpp>
19 #if defined(BOOST_POSIX_API)
20 # include <sys/wait.h>
28 #if defined(BOOST_WINDOWS_API)
29 using pipe_end = boost::asio::windows::stream_handle;
30 #elif defined(BOOST_POSIX_API)
31 using pipe_end = boost::asio::posix::stream_descriptor;
36 #if defined(BOOST_WINDOWS_API)
38 #elif defined(BOOST_POSIX_API)
45 #if defined(BOOST_WINDOWS_API)
47 #elif defined(BOOST_POSIX_API)
52 #if defined(BOOST_WINDOWS_API)
53 # define BOOST_PROCESS_EXITSTATUS(a) static_cast<int>(a)
54 #elif defined(BOOST_POSIX_API)
55 # define BOOST_PROCESS_EXITSTATUS WEXITSTATUS
58 #if defined(BOOST_PROCESS_DOXYGEN)
68 using pipe_end = boost_asio_type;
101 #define BOOST_PROCESS_EXITSTATUS