mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-23 18:14:24 +08:00
Allowed building for kfreebsd (Robert Millan)
Extended several #ifdef's to account for "FreeBSD kernel"
This commit is contained in:
parent
d06ee35332
commit
9b5bd2cbbc
@ -220,7 +220,7 @@ linux*)
|
||||
[with_fuse="internal"]
|
||||
)
|
||||
;;
|
||||
darwin*|netbsd*|solaris*)
|
||||
darwin*|netbsd*|solaris*|kfreebsd*-gnu)
|
||||
with_fuse="external"
|
||||
;;
|
||||
freebsd*)
|
||||
|
@ -2649,7 +2649,7 @@ struct fuse *fuse_new(struct fuse_chan *ch, struct fuse_args *args,
|
||||
if (!f->conf.ac_attr_timeout_set)
|
||||
f->conf.ac_attr_timeout = f->conf.attr_timeout;
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
|
||||
/*
|
||||
* In FreeBSD, we always use these settings as inode numbers are needed to
|
||||
* make getcwd(3) work.
|
||||
|
Loading…
Reference in New Issue
Block a user