Merge pull request #4384 from hummeltech/cplusplus17

Fixed check for `__cpp_lib_filesystem` in `filesystem.hpp`
This commit is contained in:
Artem Pavlenko 2023-03-18 14:35:07 +00:00 committed by GitHub
commit fc2d27d349
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@
#ifndef MAPNIK_FILESYSTEM_HPP
#define MAPNIK_FILESYSTEM_HPP
#if defined(__cpp_lib_filesystem) && !defined(USE_BOOST_FILESYSTEM)
#if (__cplusplus >= 201703L) && !defined(USE_BOOST_FILESYSTEM)
#include <filesystem>
#else
#include <boost/filesystem/operations.hpp> // for absolute, exists, etc