mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Use __FreeBSD_version instead of __FreeBSD__ macro to compile on Debian GNU/kFreeBSD
PR: ports/158825 Submitted by: Robert Millan <rmh@debian.org> Approved by: maintainer timeout
This commit is contained in:
parent
ea0a1feda0
commit
c89d65f56a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=278630
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
#include <vm/vnode_pager.h>
|
#include <vm/vnode_pager.h>
|
||||||
#include <vm/vm_object.h>
|
#include <vm/vm_object.h>
|
||||||
|
|
||||||
+#if (__FreeBSD__ >= 8)
|
+#if (__FreeBSD_version >= 800000)
|
||||||
+#define vfs_bio_set_validclean vfs_bio_set_valid
|
+#define vfs_bio_set_validclean vfs_bio_set_valid
|
||||||
+#endif
|
+#endif
|
||||||
+
|
+
|
||||||
|
|
Loading…
Add table
Reference in a new issue