From e4557c016f0b8c99a58a3b12f30c760c04d2a257 Mon Sep 17 00:00:00 2001 From: David Hummel <6109326+hummeltech@users.noreply.github.com> Date: Fri, 17 Mar 2023 10:31:30 -0700 Subject: [PATCH] Oops, it looks like does not exist until C++20 --- include/mapnik/filesystem.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/mapnik/filesystem.hpp b/include/mapnik/filesystem.hpp index 90f81ec16..10a275806 100644 --- a/include/mapnik/filesystem.hpp +++ b/include/mapnik/filesystem.hpp @@ -23,9 +23,7 @@ #ifndef MAPNIK_FILESYSTEM_HPP #define MAPNIK_FILESYSTEM_HPP -#include - -#if defined(__cpp_lib_filesystem) && !defined(USE_BOOST_FILESYSTEM) +#if (__cplusplus >= 201703L) && !defined(USE_BOOST_FILESYSTEM) #include #else #include // for absolute, exists, etc