Compile fix for NetBSD: only BSD using statvfs, disable f_flags define
Compile fix for NetBSD's use of statvfs having f_flags.All other BSDs use statfs instead of statvfs, so the f_flags define needs to be prevented on NetBSD. Fix obtained from Kamil Rytarowski <n54@gmx.com>, NetBSD qt ports maintainer. Change-Id: Ifbd7ba0cba7f6cf280f5984c64abd7649f667332 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
f8c3820de7
commit
e3d1058ae9
@ -78,7 +78,7 @@
|
||||
# if !defined(ST_RDONLY)
|
||||
# define ST_RDONLY MNT_RDONLY
|
||||
# endif
|
||||
# if !defined(_STATFS_F_FLAGS)
|
||||
# if !defined(_STATFS_F_FLAGS) && !defined(Q_OS_NETBSD)
|
||||
# define _STATFS_F_FLAGS 1
|
||||
# endif
|
||||
#elif defined(Q_OS_ANDROID)
|
||||
|
Loading…
x
Reference in New Issue
Block a user