From 93e488a6cf1f1873a387b4ed6aa7efa224ddea7b Mon Sep 17 00:00:00 2001 From: Hummeltech <6109326+hummeltech@users.noreply.github.com> Date: Sun, 19 Mar 2023 09:39:13 -0700 Subject: [PATCH] Only test for `!defined(USE_BOOST_FILESYSTEM)` in `filesystem.hpp` --- include/mapnik/filesystem.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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