filesystem.hpp 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. // boost/filesystem.hpp --------------------------------------------------------------//
  2. // Copyright Beman Dawes 2010
  3. // Distributed under the Boost Software License, Version 1.0.
  4. // See http://www.boost.org/LICENSE_1_0.txt
  5. // Library home page: http://www.boost.org/libs/filesystem
  6. //--------------------------------------------------------------------------------------//
  7. #ifndef BOOST_FILESYSTEM_FILESYSTEM_HPP
  8. #define BOOST_FILESYSTEM_FILESYSTEM_HPP
  9. # if defined(BOOST_FILESYSTEM_VERSION) \
  10. && BOOST_FILESYSTEM_VERSION != 2 && BOOST_FILESYSTEM_VERSION != 3
  11. # error BOOST_FILESYSTEM_VERSION defined, but not as 2 or 3
  12. # endif
  13. # if !defined(BOOST_FILESYSTEM_VERSION)
  14. # define BOOST_FILESYSTEM_VERSION 2
  15. # endif
  16. #if BOOST_FILESYSTEM_VERSION == 2
  17. # include <boost/filesystem/v2/config.hpp>
  18. # include <boost/filesystem/v2/path.hpp>
  19. # include <boost/filesystem/v2/operations.hpp>
  20. # include <boost/filesystem/v2/convenience.hpp>
  21. # else
  22. # include <boost/filesystem/v3/config.hpp>
  23. # include <boost/filesystem/v3/path.hpp>
  24. # include <boost/filesystem/v3/operations.hpp>
  25. # include <boost/filesystem/v3/convenience.hpp>
  26. # endif
  27. #endif // BOOST_FILESYSTEM_FILESYSTEM_HPP