Fixed check for '__cpp_lib_filesystem' always false until after '#include <filesystem>'

This commit is contained in:
David Hummel 2023-03-17 10:15:18 -07:00
parent 338942b490
commit edec46e8c3

View file

@ -23,6 +23,8 @@
#ifndef MAPNIK_FILESYSTEM_HPP
#define MAPNIK_FILESYSTEM_HPP
#include <version>
#if defined(__cpp_lib_filesystem) && !defined(USE_BOOST_FILESYSTEM)
#include <filesystem>
#else