boost: [skip ci] prepare fix for boost < 1.68

This commit is contained in:
wmayer
2020-06-15 19:16:19 +02:00
parent 1c7c3b3d9f
commit 02a4ba3bca

21
src/boost_bind_bind.hpp Normal file
View File

@@ -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