Skip to content

Commit

Permalink
Merge branch 'ign-transport8' into scpeters/checkout_v3
Browse files Browse the repository at this point in the history
  • Loading branch information
azeey authored Mar 20, 2023
2 parents 8818ff5 + 559ba5a commit 360716f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions test/test_config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@
#endif

#ifndef __APPLE__
#if __unix__ && __GNUC__ < 8
#if ((defined(__clang__) && __cplusplus < 201703L) || \
(__unix__ && __GNUC__ < 8))
#define GZ_EXPERIMENTAL_FILESYSTEM
#endif

#ifdef GZ_EXPERIMENTAL_FILESYSTEM
#include <experimental/filesystem>
#else
#include <filesystem>
Expand Down Expand Up @@ -98,7 +103,7 @@ namespace testing
// Ugly as hell but trying to avoid boost::filesystem
return _str1 + "/" + _str2;
#else
#if __unix__ && __GNUC__ < 8
#ifdef GZ_EXPERIMENTAL_FILESYSTEM
using namespace std::experimental::filesystem;
#else
using namespace std::filesystem;
Expand Down

0 comments on commit 360716f

Please sign in to comment.