From 6725e28f1428cf75d22054ff50665edbebee5713 Mon Sep 17 00:00:00 2001 From: David Schlachter Date: Mon, 8 Feb 2021 15:11:26 -0500 Subject: [PATCH] Use alternate filesystem implementation on FreeBSD --- src/CompilerSupport/filesystem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;