Opened 15 years ago

Closed 15 years ago

#1117 closed Bugs (fixed)

[asio][0.3.8 rc3]check BOOST_ASIO_HAS_IOCP before assumed _WIN32_WINNT was defined

Reported by: pop.atry@… Owned by: chris_kohlhoff
Milestone: To Be Determined Component: asio
Version: Severity: Problem
Keywords: Cc:

Description

This code could generator error

#include <boost/asio/io_service.hpp> #if _WIN32_WINNT == 0x0500 && !defined(BOOST_ASIO_HAS_IOCP) #error #endif

This problem can be fixed by adding an "#include <boost/asio/detail/socket_types.hpp>" in win_iocp_io_service_fwd.hpp

Change History (2)

comment:1 by chris_kohlhoff, 15 years ago

Owner: changed from az_sw_dude to chris_kohlhoff
Status: newassigned

comment:2 by chris_kohlhoff, 15 years ago

Resolution: fixed
Status: assignedclosed

This has already been fixed in SVN.

Note: See TracTickets for help on using tickets.