Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
boost: [skip ci] prepare fix for boost < 1.68
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
// Workaround for boost older than 1.60 | ||
#ifndef BOOST_BIND_BIND_HPP_INCLUDED | ||
#include <boost/bind/bind.hpp> | ||
#endif | ||
|
||
#include <boost/version.hpp> | ||
#if (BOOST_VERSION < 106000) | ||
namespace boost { namespace placeholders { | ||
using ::_1; | ||
using ::_2; | ||
using ::_3; | ||
using ::_4; | ||
using ::_5; | ||
using ::_6; | ||
using ::_7; | ||
using ::_8; | ||
using ::_9; | ||
}}; | ||
#endif | ||
|