diff --git a/include/utils/utils.h b/include/utils/utils.h index 0721bbb6..4e258119 100644 --- a/include/utils/utils.h +++ b/include/utils/utils.h @@ -14,7 +14,11 @@ #include #include #include +#if defined(__GNUC__) && __GNUC__ < 8 +#include +#else #include +#endif #if defined(_WIN32) or defined(_WIN64) #include @@ -32,7 +36,7 @@ #endif #endif -#if defined(_MSC_VER) && _MSC_VER <= 1900 // VS 2015 +#if (defined(_MSC_VER) && _MSC_VER <= 1900) || (defined(__GNUC__) && __GNUC__ < 8) // VS 2015) namespace fs = std::experimental::filesystem; #else namespace fs = std::filesystem;