summaryrefslogtreecommitdiffhomepage
path: root/plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugin.cpp')
-rw-r--r--plugin.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/plugin.cpp b/plugin.cpp
index afcbdb3..68861a8 100644
--- a/plugin.cpp
+++ b/plugin.cpp
@@ -2,11 +2,6 @@
#include <boost/beast/version.hpp>
-// Support both boost in Debian unstable (BOOST_LATEST) and in stable (boost 1.67)
-#if BOOST_VERSION >= 107100
-#define BOOST_LATEST
-#endif
-
#include <boost/dll/import.hpp>
#include <boost/filesystem.hpp>
@@ -29,11 +24,7 @@ void PluginLoader::load_plugins()
for (auto& path: fs::recursive_directory_iterator(dir)) {
if (path.is_regular_file() && path.path().extension() == ".so"s) {
-#ifdef BOOST_LATEST
dll::fs::path lib_path{path.path()};
-#else
- boost::filesystem::path lib_path{path.path().generic_string()};
-#endif
try {
boost::shared_ptr<webserver_plugin_interface> plugin = dll::import<webserver_plugin_interface>(lib_path, "webserver_plugin", dll::load_mode::append_decorations);