fix missing weakly_canonical on GCC 7.3

This commit is contained in:
Jinhao
2019-09-11 00:07:07 +08:00
parent e6b0332bad
commit 02676e9c75
2 changed files with 3 additions and 3 deletions

View File

@@ -1407,7 +1407,7 @@ namespace std
namespace filesystem
{
#if (defined(NANA_USING_STD_EXPERIMENTAL_FILESYSTEM) && defined(_MSC_VER) && (_MSC_VER > 1912)) || \
(!defined(__clang__) && defined(__GNUC__) && (__cplusplus < 201603))
(!defined(__clang__) && defined(__GNUC__) && (__cplusplus < 201603 || (__GNUC__* 100 + __GNUC_MINOR__ < 801)))
namespace detail
{