add a check for support of C++11 inline namespace

This commit is contained in:
Jinhao
2016-02-17 00:32:15 +08:00
parent 41830d46ba
commit 5e09cf1aef
3 changed files with 16 additions and 3 deletions

View File

@@ -38,7 +38,9 @@
namespace nana { namespace experimental {
#ifndef CXX_NO_INLINE_NAMESPACE
inline namespace v1 {
#endif
namespace filesystem
{
//class filesystem_error
@@ -870,7 +872,10 @@ namespace nana { namespace experimental {
::chdir(p.c_str());
#endif
}
#ifndef CXX_NO_INLINE_NAMESPACE
} //end namespace v1
#endif
}//end namespace filesystem
} //end namespace experimental
}//end namespace nana