Fixes #317: Make use of ASIO_STANDALONE when using standalone asio in order to compile on older asio versions without boost
This commit is contained in:
parent
cc0dc20947
commit
1bb89e1e8e
6 changed files with 8 additions and 8 deletions
|
|
@ -50,14 +50,14 @@ namespace SimpleWeb {
|
|||
}
|
||||
};
|
||||
} // namespace SimpleWeb
|
||||
#ifndef USE_STANDALONE_ASIO
|
||||
#ifndef ASIO_STANDALONE
|
||||
namespace boost {
|
||||
#endif
|
||||
namespace asio {
|
||||
template <>
|
||||
struct is_match_condition<SimpleWeb::HeaderEndMatch> : public std::true_type {};
|
||||
} // namespace asio
|
||||
#ifndef USE_STANDALONE_ASIO
|
||||
#ifndef ASIO_STANDALONE
|
||||
} // namespace boost
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue