Switch to C++17 for Mac OS X

This commit is contained in:
orignal 2024-09-01 15:23:14 -04:00
parent 509c039e2f
commit bbadbdbfdb
4 changed files with 5 additions and 3 deletions

View file

@ -9,7 +9,9 @@
#include <algorithm>
#if defined(MAC_OSX)
#if !STD_FILESYSTEM
#include <boost/system/system_error.hpp>
#endif
#include <TargetConditionals.h>
#endif

View file

@ -16,7 +16,7 @@
#include <functional>
#ifndef STD_FILESYSTEM
# if (!defined(MAC_OSX) && !TARGET_OS_SIMULATOR && \
# if (!TARGET_OS_SIMULATOR && \
(__cplusplus >= 201703L) && __has_include(<filesystem>)) // C++ 17 or higher and supports std::filesystem
# define STD_FILESYSTEM 1
# else