You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and dots ('.'), can be up to 35 characters long. Letters must be lowercase.
35 lines
1.1 KiB
35 lines
1.1 KiB
// boost/filesystem/convenience.hpp --------------------------------------------------// |
|
|
|
// Copyright Beman Dawes 2010 |
|
|
|
// Distributed under the Boost Software License, Version 1.0. |
|
// See http://www.boost.org/LICENSE_1_0.txt |
|
|
|
// Library home page: http://www.boost.org/libs/filesystem |
|
|
|
//--------------------------------------------------------------------------------------// |
|
|
|
#ifndef BOOST_FILESYSTEM_CONVENIENCEX_HPP |
|
#define BOOST_FILESYSTEM_CONVENIENCEX_HPP |
|
|
|
#include <boost/config.hpp> // for <boost/config/user.hpp>, in case |
|
// BOOST_FILESYSTEM_VERSION defined there |
|
|
|
# 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 |
|
|
|
# if !defined(BOOST_FILESYSTEM_VERSION) |
|
# define BOOST_FILESYSTEM_VERSION 3 |
|
# endif |
|
|
|
#if BOOST_FILESYSTEM_VERSION == 2 |
|
# include <boost/filesystem/v2/convenience.hpp> |
|
|
|
# else |
|
# include <boost/filesystem/v3/convenience.hpp> |
|
|
|
# endif |
|
|
|
#endif // BOOST_FILESYSTEM_CONVENIENCEX_HPP
|
|
|