
Hi, Thanks for your quick answer. I am not including <windows.h> (I'm compiling a console application, without support for MFCs or precompiled headers). Here is what I have defined in the project: WIN32;_DEBUG;_CONSOLE I haven't defined WIN32_LEAN_AND_MEAN or any other macro (just included <boost/asio.hpp>). Any idea of what else this could be? Thanks, Jean On 7-Jul-08, at 8:00 PM, Cory Nelson wrote:
You are probably #including <windows.h> prior to that without defining WIN32_LEAN_AND_MEAN first.
On Mon, Jul 7, 2008 at 4:54 PM, Jean-Sebastien Stoezel <js.stoezel@gmail.com> wrote:
Hi,
Why trying to use the asio library I'm getting the following error (I believe this happens I include <boost/asio.hpp> once):
WinSock.h has already been included c:\program files\boost\boost_1_35_0\boost\asio\detail\socket_types.hpp 27
I'm compiling using VS 2008 on WinXP.
Any idea how to deal with this?
Thanks, Jean
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Cory Nelson http://www.int64.org _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users