@@ -567,7 +567,7 @@ extern {
567
567
#[ cfg_attr( target_os = "macos" , link_name = "fstat$INODE64" ) ]
568
568
#[ cfg_attr( target_os = "netbsd" , link_name = "__fstat50" ) ]
569
569
#[ cfg_attr(
570
- all( target_os = "freebsd" , not ( freebsd12 ) ) ,
570
+ all( target_os = "freebsd" , freebsd11 ) ,
571
571
link_name = "fstat@FBSD_1.0"
572
572
) ]
573
573
pub fn fstat ( fildes : :: c_int , buf : * mut stat ) -> :: c_int ;
@@ -577,7 +577,7 @@ extern {
577
577
#[ cfg_attr( target_os = "macos" , link_name = "stat$INODE64" ) ]
578
578
#[ cfg_attr( target_os = "netbsd" , link_name = "__stat50" ) ]
579
579
#[ cfg_attr(
580
- all( target_os = "freebsd" , not ( freebsd12 ) ) ,
580
+ all( target_os = "freebsd" , freebsd11 ) ,
581
581
link_name = "stat@FBSD_1.0"
582
582
) ]
583
583
pub fn stat ( path : * const c_char , buf : * mut stat ) -> :: c_int ;
@@ -614,14 +614,14 @@ extern {
614
614
#[ cfg_attr( target_os = "macos" , link_name = "readdir$INODE64" ) ]
615
615
#[ cfg_attr( target_os = "netbsd" , link_name = "__readdir30" ) ]
616
616
#[ cfg_attr(
617
- all( target_os = "freebsd" , not ( freebsd12 ) ) ,
617
+ all( target_os = "freebsd" , freebsd11 ) ,
618
618
link_name = "readdir@FBSD_1.0"
619
619
) ]
620
620
pub fn readdir ( dirp : * mut :: DIR ) -> * mut :: dirent ;
621
621
#[ cfg_attr( target_os = "macos" , link_name = "readdir_r$INODE64" ) ]
622
622
#[ cfg_attr( target_os = "netbsd" , link_name = "__readdir_r30" ) ]
623
623
#[ cfg_attr(
624
- all( target_os = "freebsd" , not ( freebsd12 ) ) ,
624
+ all( target_os = "freebsd" , freebsd11 ) ,
625
625
link_name = "readdir_r@FBSD_1.0"
626
626
) ]
627
627
/// The 64-bit libc on Solaris and illumos only has readdir_r. If a
@@ -653,7 +653,7 @@ extern {
653
653
flags : :: c_int ) -> :: c_int ;
654
654
#[ cfg_attr( target_os = "macos" , link_name = "fstatat$INODE64" ) ]
655
655
#[ cfg_attr(
656
- all( target_os = "freebsd" , not ( freebsd12 ) ) ,
656
+ all( target_os = "freebsd" , freebsd11 ) ,
657
657
link_name = "fstatat@FBSD_1.1"
658
658
) ]
659
659
pub fn fstatat ( dirfd : :: c_int , pathname : * const :: c_char ,
@@ -815,7 +815,7 @@ extern {
815
815
#[ cfg_attr( target_os = "macos" , link_name = "lstat$INODE64" ) ]
816
816
#[ cfg_attr( target_os = "netbsd" , link_name = "__lstat50" ) ]
817
817
#[ cfg_attr(
818
- all( target_os = "freebsd" , not ( freebsd12 ) ) ,
818
+ all( target_os = "freebsd" , freebsd11 ) ,
819
819
link_name = "lstat@FBSD_1.0"
820
820
) ]
821
821
pub fn lstat ( path : * const c_char , buf : * mut stat ) -> :: c_int ;
@@ -992,7 +992,7 @@ extern {
992
992
993
993
#[ cfg_attr( target_os = "netbsd" , link_name = "__mknod50" ) ]
994
994
#[ cfg_attr(
995
- all( target_os = "freebsd" , not ( freebsd12 ) ) ,
995
+ all( target_os = "freebsd" , freebsd11 ) ,
996
996
link_name = "mknod@FBSD_1.0"
997
997
) ]
998
998
pub fn mknod ( pathname : * const :: c_char , mode : :: mode_t ,
0 commit comments