better integration of the nana filesystem extensions and possible force to use it
This commit is contained in:
parent
17782a60e1
commit
11f216434f
@ -15,6 +15,8 @@
|
|||||||
#ifndef NANA_FILESYSTEM_EXT_HPP
|
#ifndef NANA_FILESYSTEM_EXT_HPP
|
||||||
#define NANA_FILESYSTEM_EXT_HPP
|
#define NANA_FILESYSTEM_EXT_HPP
|
||||||
|
|
||||||
|
#include <nana/filesystem/filesystem_selector.hpp>
|
||||||
|
|
||||||
namespace nana {namespace experimental {namespace filesystem {namespace ext {
|
namespace nana {namespace experimental {namespace filesystem {namespace ext {
|
||||||
#if defined(NANA_WINDOWS)
|
#if defined(NANA_WINDOWS)
|
||||||
constexpr auto def_root = "C:";
|
constexpr auto def_root = "C:";
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
#include <nana/config.hpp>
|
#include <nana/config.hpp>
|
||||||
|
|
||||||
#if defined(NANA_BOOST_FILESYSTEM_AVAILABLE) && ( defined(NANA_BOOST_FILESYSTEM_FORCE) || (defined(STD_FILESYSTEM_NOT_SUPPORTED) && defined(NANA_BOOST_FILESYSTEM_PREFERRED) ) )
|
#if (!defined(NANA_FILESYSTEM_FORCE) && defined(NANA_BOOST_FILESYSTEM_AVAILABLE) && ( defined(NANA_BOOST_FILESYSTEM_FORCE) || (defined(STD_FILESYSTEM_NOT_SUPPORTED) && defined(NANA_BOOST_FILESYSTEM_PREFERRED) ) ))
|
||||||
|
|
||||||
# include <boost/filesystem.hpp>
|
# include <boost/filesystem.hpp>
|
||||||
|
|
||||||
@ -48,7 +48,7 @@ namespace std {
|
|||||||
} // std
|
} // std
|
||||||
|
|
||||||
|
|
||||||
#elif defined(STD_FILESYSTEM_NOT_SUPPORTED)
|
#elif (defined(NANA_FILESYSTEM_FORCE) || defined(STD_FILESYSTEM_NOT_SUPPORTED))
|
||||||
|
|
||||||
# include <nana/filesystem/filesystem.hpp>
|
# include <nana/filesystem/filesystem.hpp>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user