[Boost-bugs] [Boost C++ Libraries] #4491: asio : WinError.h case incorrect ?

Subject: [Boost-bugs] [Boost C++ Libraries] #4491: asio : WinError.h case incorrect ?
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-07-29 19:01:59


#4491: asio : WinError.h case incorrect ?
-----------------------------------------------------+----------------------
 Reporter: Jérôme Carretero <cJ-boost@…> | Owner: chris_kohlhoff
     Type: Bugs | Status: new
Milestone: Boost 1.44.0 | Component: asio
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-----------------------------------------------------+----------------------
 On my Linux system, I'm cross-compiling for windows.
 The w32api provides lower case header files, I think it's a standard for
 windows headers.

 Here's a working patch :

 diff --git a/boost/asio/error.hpp b/boost/asio/error.hpp
 index 5663b69..69a8a24 100644
 --- a/boost/asio/error.hpp
 +++ b/boost/asio/error.hpp
 @@ -19,7 +19,7 @@
  #include <boost/cerrno.hpp>
  #include <boost/system/error_code.hpp>
  #if defined(BOOST_WINDOWS) || defined(__CYGWIN__)
 -# include <WinError.h>
 +# include <winerror.h>
  #else
  # include <cerrno>
  # include <netdb.h>

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4491>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:04 UTC