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:
Julien Laffaye 2011-07-31 12:33:43 +00:00
parent ea0a1feda0
commit c89d65f56a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=278630

View file

@ -4,7 +4,7 @@
#include <vm/vnode_pager.h>
#include <vm/vm_object.h>
+#if (__FreeBSD__ >= 8)
+#if (__FreeBSD_version >= 800000)
+#define vfs_bio_set_validclean vfs_bio_set_valid
+#endif
+