freebsd-ports/databases/foundationdb-devel/files/patch-flow_Platform.actor.cpp
Dave Cottlehuber 815d4f4ce7 databases/foundationdb-devel: update to 20201228 snapshot
Sponsored by:	SkunkWerks, GmbH
2021-01-06 10:47:52 +00:00

11 lines
458 B
C++

--- flow/Platform.actor.cpp.orig 2021-01-03 23:00:51 UTC
+++ flow/Platform.actor.cpp
@@ -2406,7 +2406,7 @@ ACTOR Future<vector<std::string>> findFiles( std::stri
return result;
}
-#elif (defined(__linux__) || defined(__APPLE__))
+#elif (defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__))
#define FILE_ATTRIBUTE_DATA mode_t
bool acceptFile( FILE_ATTRIBUTE_DATA fileAttributes, std::string const& name, std::string const& extension ) {