diff --git a/src/CompilerSupport/filesystem.h b/src/CompilerSupport/filesystem.h index b85463d..2070797 100644 --- a/src/CompilerSupport/filesystem.h +++ b/src/CompilerSupport/filesystem.h @@ -1,6 +1,6 @@ #pragma once -#if !__APPLE__ /* don't use built-in filesystem implementation so we can support older macOS versions */ && \ +#if !__APPLE__ && !__FreeBSD__ /* don't use built-in filesystem implementation so we can support older macOS and FreeBSD */ && \ defined(__cplusplus) && __cplusplus >= 201703L && defined(__has_include) && __has_include() #include namespace fs = std::filesystem;