From 27d77f7a465a803a29eda96c1e8effc7570eb297 Mon Sep 17 00:00:00 2001 From: Stephen Roderick Date: Thu, 14 Jul 2011 08:38:28 -0500 Subject: [PATCH] plugin: More fixes for Boost filesystem v3 API changes --- rtt/plugin/PluginLoader.cpp | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/rtt/plugin/PluginLoader.cpp b/rtt/plugin/PluginLoader.cpp index b773620..6f55184 100644 --- a/rtt/plugin/PluginLoader.cpp +++ b/rtt/plugin/PluginLoader.cpp @@ -144,7 +144,11 @@ RTT_API bool isLoadableLibrary(const path& filename) #if defined(__APPLE__) std::string ext; +#if BOOST_VERSION >= 104600 ext = filename.extension().string(); +#else + ext = filename.extension(); +#endif // ends in SO_EXT? if (0 == ext.compare(SO_EXT)) { -- 1.7.2.1