Skip to content
Permalink
Browse files

OSX Clang fix (#1551)

OSX Clang is old and still keeps its C++17 libraries in the experimental folder.
  • Loading branch information...
JoshDreamland committed Feb 18, 2019
2 parents 112dc54 + dbee98b commit 868f8808673a10087c1146fc736e62958633e374
Showing with 8 additions and 3 deletions.
  1. +8 −3 CommandLine/libEGM/filesystem.h
@@ -9,9 +9,14 @@
ForwardIt it,
typename std::iterator_traits<ForwardIt>::difference_type n = 1);
} // namespace boost
#else
#include <filesystem>
namespace fs = std::filesystem;
#else
#ifdef __APPLE__
#include <experimental/filesystem>
namespace fs = std::experimental::filesystem;
#else
#include <filesystem>
namespace fs = std::filesystem;
#endif
using errc = std::error_code;
#endif

0 comments on commit 868f880

Please sign in to comment.
You can’t perform that action at this time.