Added the appropriate check to enable std::filesystem when using GCC 8

This commit is contained in:
Charles Dang 2018-05-13 21:46:54 +11:00
parent f9b9d5018f
commit 1e84ec2b94

View file

@ -32,9 +32,7 @@
#include <boost/system/windows_error.hpp>
#if 0
// Keeping this to MSVC for now since I don't know how complete the
// filesystem library implementation is on GCC and Clang.
#if defined HAVE_CXX17 && defined _MSC_VER
#if defined HAVE_CXX17 && (defined _MSC_VER || (defined __GNUC__ && __GNUC__ >= 8))
#define USE_STANDARD_FILESYSTEM_LIBRARY
#endif
#endif