1 bundled boost 1.55 error_code.cpp breaks when compiled with BOOST_ERROR_CODE_HEADER_ONLY
3 --- boost/libs/system/src/error_code.cpp.orig 2015-09-08 16:37:11.595528207 +0200
4 +++ boost/libs/system/src/error_code.cpp 2015-09-08 16:39:12.696518815 +0200
6 #define BOOST_SYSTEM_SOURCE
8 #include <boost/system/config.hpp>
10 +#ifndef BOOST_ERROR_CODE_CPP
11 +#define BOOST_ERROR_CODE_CPP
13 #include <boost/system/error_code.hpp>
14 #include <boost/cerrno.hpp>
21 +#endif // BOOST_ERROR_CODE_CPP