@@ -567,7 +567,7 @@ extern {
567567 #[ cfg_attr( target_os = "macos" , link_name = "fstat$INODE64" ) ]
568568 #[ cfg_attr( target_os = "netbsd" , link_name = "__fstat50" ) ]
569569 #[ cfg_attr(
570- all( target_os = "freebsd" , not ( freebsd12 ) ) ,
570+ all( target_os = "freebsd" , freebsd11 ) ,
571571 link_name = "fstat@FBSD_1.0"
572572 ) ]
573573 pub fn fstat ( fildes : :: c_int , buf : * mut stat ) -> :: c_int ;
@@ -577,7 +577,7 @@ extern {
577577 #[ cfg_attr( target_os = "macos" , link_name = "stat$INODE64" ) ]
578578 #[ cfg_attr( target_os = "netbsd" , link_name = "__stat50" ) ]
579579 #[ cfg_attr(
580- all( target_os = "freebsd" , not ( freebsd12 ) ) ,
580+ all( target_os = "freebsd" , freebsd11 ) ,
581581 link_name = "stat@FBSD_1.0"
582582 ) ]
583583 pub fn stat ( path : * const c_char , buf : * mut stat ) -> :: c_int ;
@@ -608,7 +608,7 @@ extern {
608608 #[ cfg_attr( target_os = "macos" , link_name = "readdir$INODE64" ) ]
609609 #[ cfg_attr( target_os = "netbsd" , link_name = "__readdir30" ) ]
610610 #[ cfg_attr(
611- all( target_os = "freebsd" , not ( freebsd12 ) ) ,
611+ all( target_os = "freebsd" , freebsd11 ) ,
612612 link_name = "readdir@FBSD_1.0"
613613 ) ]
614614 pub fn readdir ( dirp : * mut :: DIR ) -> * mut :: dirent ;
@@ -631,7 +631,7 @@ extern {
631631 flags : :: c_int ) -> :: c_int ;
632632 #[ cfg_attr( target_os = "macos" , link_name = "fstatat$INODE64" ) ]
633633 #[ cfg_attr(
634- all( target_os = "freebsd" , not ( freebsd12 ) ) ,
634+ all( target_os = "freebsd" , freebsd11 ) ,
635635 link_name = "fstatat@FBSD_1.1"
636636 ) ]
637637 pub fn fstatat ( dirfd : :: c_int , pathname : * const :: c_char ,
@@ -786,7 +786,7 @@ extern {
786786 #[ cfg_attr( target_os = "macos" , link_name = "lstat$INODE64" ) ]
787787 #[ cfg_attr( target_os = "netbsd" , link_name = "__lstat50" ) ]
788788 #[ cfg_attr(
789- all( target_os = "freebsd" , not ( freebsd12 ) ) ,
789+ all( target_os = "freebsd" , freebsd11 ) ,
790790 link_name = "lstat@FBSD_1.0"
791791 ) ]
792792 pub fn lstat ( path : * const c_char , buf : * mut stat ) -> :: c_int ;
@@ -962,7 +962,7 @@ extern {
962962
963963 #[ cfg_attr( target_os = "netbsd" , link_name = "__mknod50" ) ]
964964 #[ cfg_attr(
965- all( target_os = "freebsd" , not ( freebsd12 ) ) ,
965+ all( target_os = "freebsd" , freebsd11 ) ,
966966 link_name = "mknod@FBSD_1.0"
967967 ) ]
968968 pub fn mknod ( pathname : * const :: c_char , mode : :: mode_t ,
@@ -1126,7 +1126,7 @@ cfg_if! {
11261126 #[ cfg_attr( target_os = "macos" , link_name = "readdir_r$INODE64" ) ]
11271127 #[ cfg_attr( target_os = "netbsd" , link_name = "__readdir_r30" ) ]
11281128 #[ cfg_attr(
1129- all( target_os = "freebsd" , not ( freebsd12 ) ) ,
1129+ all( target_os = "freebsd" , freebsd11 ) ,
11301130 link_name = "readdir_r@FBSD_1.0"
11311131 ) ]
11321132 /// The 64-bit libc on Solaris and illumos only has readdir_r. If a
0 commit comments