Skip to content
Snippets Groups Projects
Commit a1ab34b0 authored by Valerio Mariani's avatar Valerio Mariani
Browse files

Added ifdef for boost v3

parent 6aa20309
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,11 @@ String GetPrefixPath()
String GetSharedDataPath()
{
return (path(GetPrefixPath()) / "share" / "openstructure").string();
#if BOOST_FILESYSTEM_VERSION==3 || BOOST_VERSION<103400
return (path(GetPrefixPath()) / "share" / "openstructure").native();
#else
return (path(GetPrefixPath()) / "share" / "openstructure").native_file_string();
#endif
}
}
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment