Oops, it looks like <version> does not exist until C++20

This commit is contained in:
David Hummel 2023-03-17 10:31:30 -07:00
parent edec46e8c3
commit e4557c016f

View file

@ -23,9 +23,7 @@
#ifndef MAPNIK_FILESYSTEM_HPP
#define MAPNIK_FILESYSTEM_HPP
#include <version>
#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