diff options
Diffstat (limited to 'source3/smbd/statvfs.c')
-rw-r--r-- | source3/smbd/statvfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/statvfs.c b/source3/smbd/statvfs.c index 5cefe2d4c2..918867f7aa 100644 --- a/source3/smbd/statvfs.c +++ b/source3/smbd/statvfs.c @@ -97,7 +97,7 @@ static int darwin_statvfs(const char *path, vfs_statvfs_struct *statbuf) return 0; } -#elif defined(BSD) && defined(BSD_STATVFS_BSIZE) +#elif defined(BSD_STYLE_STATVFS) static int bsd_statvfs(const char *path, vfs_statvfs_struct *statbuf) { struct statfs statfs_buf; @@ -177,7 +177,7 @@ int sys_statvfs(const char *path, vfs_statvfs_struct *statbuf) { #if defined(DARWINOS) return darwin_statvfs(path, statbuf); -#elif defined(BSD) && defined(BSD_STATVFS_BSIZE) +#elif defined(BSD_STYLE_STATVFS) return bsd_statvfs(path, statbuf); #elif defined(STAT_STATVFS) && defined(HAVE_FSID_INT) return linux_statvfs(path, statbuf); |