/Src/Dependencies/Boost/boost/filesystem.hpp

http://hadesmem.googlecode.com/ · C++ Header · 41 lines · 22 code · 12 blank · 7 comment · 7 complexity · e1f005bf0437afc53c011b62cae64dfd MD5 · raw file

  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. #include <boost/config.hpp> // for <boost/config/user.hpp>, in case
  10. // BOOST_FILESYSTEM_VERSION defined there
  11. # if defined(BOOST_FILESYSTEM_VERSION) \
  12. && BOOST_FILESYSTEM_VERSION != 2 && BOOST_FILESYSTEM_VERSION != 3
  13. # error BOOST_FILESYSTEM_VERSION defined, but not as 2 or 3
  14. # endif
  15. # if !defined(BOOST_FILESYSTEM_VERSION)
  16. # define BOOST_FILESYSTEM_VERSION 3
  17. # endif
  18. #if BOOST_FILESYSTEM_VERSION == 2
  19. # include <boost/filesystem/v2/config.hpp>
  20. # include <boost/filesystem/v2/path.hpp>
  21. # include <boost/filesystem/v2/operations.hpp>
  22. # include <boost/filesystem/v2/convenience.hpp>
  23. # else
  24. # include <boost/filesystem/v3/config.hpp>
  25. # include <boost/filesystem/v3/path.hpp>
  26. # include <boost/filesystem/v3/operations.hpp>
  27. # include <boost/filesystem/v3/convenience.hpp>
  28. # endif
  29. #endif // BOOST_FILESYSTEM_FILESYSTEM_HPP