Skip to content

Commit

Permalink
Use ifdef instead of if for win32 (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsBurgh authored Sep 1, 2022
1 parent ca1c50f commit 5fb0f10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pluginlib/include/pluginlib/class_loader_imp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ std::vector<std::string> ClassLoader<T>::getCatkinLibraryPaths()
boost::split(catkin_prefix_paths, env_catkin_prefix_paths, boost::is_any_of(os_pathsep));
BOOST_FOREACH(std::string catkin_prefix_path, catkin_prefix_paths) {
boost::filesystem::path path(catkin_prefix_path);
#if _WIN32
#ifdef _WIN32
boost::filesystem::path bin("bin");
lib_paths.push_back((path / bin).string());
#endif
Expand Down

0 comments on commit 5fb0f10

Please sign in to comment.