summaryrefslogtreecommitdiffhomepage
path: root/plugin.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-09 13:15:18 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-09 13:15:18 +0100
commitdc2e2b3e293a8374a2627982b521cc6865129c49 (patch)
treebd34d6c13e330be5937aec29503cbe6649d0fa74 /plugin.cpp
parentd747193e76baf689211d9f1e42335360288d43c0 (diff)
Separated out websocket
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);