28#ifndef WEBSOCKETPP_COMMON_SYSTEM_ERROR_HPP
29#define WEBSOCKETPP_COMMON_SYSTEM_ERROR_HPP
37#if defined _WEBSOCKETPP_CPP11_INTERNAL_ && !defined _WEBSOCKETPP_NO_CPP11_SYSTEM_ERROR_
38 #ifndef _WEBSOCKETPP_CPP11_SYSTEM_ERROR_
39 #define _WEBSOCKETPP_CPP11_SYSTEM_ERROR_
45#if defined(_MSC_VER) && _MSC_VER >= 1600 && !defined _WEBSOCKETPP_NO_CPP11_SYSTEM_ERROR_
46 #ifndef _WEBSOCKETPP_CPP11_SYSTEM_ERROR_
47 #define _WEBSOCKETPP_CPP11_SYSTEM_ERROR_
53#ifdef _WEBSOCKETPP_CPP11_SYSTEM_ERROR_
54 #include <system_error>
56 #include <boost/system/error_code.hpp>
57 #include <boost/system/system_error.hpp>
63#ifdef _WEBSOCKETPP_CPP11_SYSTEM_ERROR_
65 using std::error_code;
66 using std::error_category;
67 using std::error_condition;
68 using std::system_error;
69 #define _WEBSOCKETPP_ERROR_CODE_ENUM_NS_START_ namespace std {
70 #define _WEBSOCKETPP_ERROR_CODE_ENUM_NS_END_ }
72 namespace errc = boost::system::errc;
73 using boost::system::error_code;
74 using boost::system::error_category;
75 using boost::system::error_condition;
76 using boost::system::system_error;
77 #define _WEBSOCKETPP_ERROR_CODE_ENUM_NS_START_ namespace boost { namespace system {
78 #define _WEBSOCKETPP_ERROR_CODE_ENUM_NS_END_ }}
Namespace for the WebSocket++ project.