flow: fix compilation error on FreeBSD
This commit is contained in:
parent
c8950490be
commit
2daa4d33af
|
@ -2406,7 +2406,7 @@ ACTOR Future<vector<std::string>> findFiles( std::string directory, std::string
|
|||
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 ) {
|
||||
|
|
Loading…
Reference in New Issue