mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Misc fixes, mostly for FreeBSD (#1536)
This commit is contained in:
parent
7a9c3b7eb2
commit
46f85c0f6d
27 changed files with 146 additions and 140 deletions
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
#include <cstdio>
|
||||
|
||||
#ifdef __linux__
|
||||
#include <mntent.h>
|
||||
|
||||
#ifdef __linux__
|
||||
void
|
||||
fs::mounts(fs::MountVec &mounts_)
|
||||
{
|
||||
|
|
@ -29,9 +29,12 @@ fs::mounts(fs::MountVec &mounts_)
|
|||
|
||||
::endmntent(f);
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
void
|
||||
fs::mounts(fs::MountVec &mounts_)
|
||||
{
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue