diff options
Diffstat (limited to '3rdParty/Boost/src/boost/filesystem.hpp')
-rw-r--r-- | 3rdParty/Boost/src/boost/filesystem.hpp | 38 |
1 files changed, 28 insertions, 10 deletions
diff --git a/3rdParty/Boost/src/boost/filesystem.hpp b/3rdParty/Boost/src/boost/filesystem.hpp index aa65b21..f8b9353 100644 --- a/3rdParty/Boost/src/boost/filesystem.hpp +++ b/3rdParty/Boost/src/boost/filesystem.hpp @@ -1,20 +1,38 @@ -// boost/filesystem/filesystem.hpp -----------------------------------------// +// boost/filesystem.hpp --------------------------------------------------------------// -// Copyright Beman Dawes 2005 +// Copyright Beman Dawes 2010 -// Use, modification, and distribution is subject to the Boost Software -// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at -// http://www.boost.org/LICENSE_1_0.txt) +// Distributed under the Boost Software License, Version 1.0. +// See http://www.boost.org/LICENSE_1_0.txt -// See library home page at http://www.boost.org/libs/filesystem +// Library home page: http://www.boost.org/libs/filesystem -//----------------------------------------------------------------------------// +//--------------------------------------------------------------------------------------// #ifndef BOOST_FILESYSTEM_FILESYSTEM_HPP #define BOOST_FILESYSTEM_FILESYSTEM_HPP -#include <boost/filesystem/operations.hpp> // includes path.hpp -#include <boost/filesystem/convenience.hpp> +# if defined(BOOST_FILESYSTEM_VERSION) \ + && BOOST_FILESYSTEM_VERSION != 2 && BOOST_FILESYSTEM_VERSION != 3 +# error BOOST_FILESYSTEM_VERSION defined, but not as 2 or 3 +# endif -#endif +# if !defined(BOOST_FILESYSTEM_VERSION) +# define BOOST_FILESYSTEM_VERSION 2 +# endif +#if BOOST_FILESYSTEM_VERSION == 2 +# include <boost/filesystem/v2/config.hpp> +# include <boost/filesystem/v2/path.hpp> +# include <boost/filesystem/v2/operations.hpp> +# include <boost/filesystem/v2/convenience.hpp> + +# else +# include <boost/filesystem/v3/config.hpp> +# include <boost/filesystem/v3/path.hpp> +# include <boost/filesystem/v3/operations.hpp> +# include <boost/filesystem/v3/convenience.hpp> + +# endif + +#endif // BOOST_FILESYSTEM_FILESYSTEM_HPP |