diff --git a/include/mapnik/filesystem.hpp b/include/mapnik/filesystem.hpp index 10a275806..ff4b41a22 100644 --- a/include/mapnik/filesystem.hpp +++ b/include/mapnik/filesystem.hpp @@ -23,7 +23,7 @@ #ifndef MAPNIK_FILESYSTEM_HPP #define MAPNIK_FILESYSTEM_HPP -#if (__cplusplus >= 201703L) && !defined(USE_BOOST_FILESYSTEM) +#if !defined(USE_BOOST_FILESYSTEM) #include #else #include // for absolute, exists, etc @@ -31,7 +31,7 @@ #endif namespace mapnik { -#if defined(__cpp_lib_filesystem) && !defined(USE_BOOST_FILESYSTEM) +#if !defined(USE_BOOST_FILESYSTEM) namespace fs = std::filesystem; using error_code = std::error_code; #else