@@ -596,9 +596,13 @@ extern "C" {
596596 pub fn getchar_unlocked ( ) -> :: c_int ;
597597 pub fn putchar_unlocked ( c : :: c_int ) -> :: c_int ;
598598
599+ #[ cfg( not( all( libc_cfg_target_vendor, target_arch = "powerpc" ,
600+ target_vendor = "nintendo" ) ) ) ]
599601 #[ cfg_attr( target_os = "netbsd" , link_name = "__socket30" ) ]
600602 #[ cfg_attr( target_os = "illumos" , link_name = "__xnet_socket" ) ]
601603 pub fn socket ( domain : :: c_int , ty : :: c_int , protocol : :: c_int ) -> :: c_int ;
604+ #[ cfg( not( all( libc_cfg_target_vendor, target_arch = "powerpc" ,
605+ target_vendor = "nintendo" ) ) ) ]
602606 #[ cfg_attr(
603607 all( target_os = "macos" , target_arch = "x86" ) ,
604608 link_name = "connect$UNIX2003"
@@ -614,6 +618,8 @@ extern "C" {
614618 link_name = "listen$UNIX2003"
615619 ) ]
616620 pub fn listen ( socket : :: c_int , backlog : :: c_int ) -> :: c_int ;
621+ #[ cfg( not( all( libc_cfg_target_vendor, target_arch = "powerpc" ,
622+ target_vendor = "nintendo" ) ) ) ]
617623 #[ cfg_attr(
618624 all( target_os = "macos" , target_arch = "x86" ) ,
619625 link_name = "accept$UNIX2003"
@@ -623,6 +629,8 @@ extern "C" {
623629 address : * mut sockaddr ,
624630 address_len : * mut socklen_t ,
625631 ) -> :: c_int ;
632+ #[ cfg( not( all( libc_cfg_target_vendor, target_arch = "powerpc" ,
633+ target_vendor = "nintendo" ) ) ) ]
626634 #[ cfg_attr(
627635 all( target_os = "macos" , target_arch = "x86" ) ,
628636 link_name = "getpeername$UNIX2003"
@@ -632,6 +640,8 @@ extern "C" {
632640 address : * mut sockaddr ,
633641 address_len : * mut socklen_t ,
634642 ) -> :: c_int ;
643+ #[ cfg( not( all( libc_cfg_target_vendor, target_arch = "powerpc" ,
644+ target_vendor = "nintendo" ) ) ) ]
635645 #[ cfg_attr(
636646 all( target_os = "macos" , target_arch = "x86" ) ,
637647 link_name = "getsockname$UNIX2003"
@@ -659,6 +669,8 @@ extern "C" {
659669 protocol : :: c_int ,
660670 socket_vector : * mut :: c_int ,
661671 ) -> :: c_int ;
672+ #[ cfg( not( all( libc_cfg_target_vendor, target_arch = "powerpc" ,
673+ target_vendor = "nintendo" ) ) ) ]
662674 #[ cfg_attr(
663675 all( target_os = "macos" , target_arch = "x86" ) ,
664676 link_name = "sendto$UNIX2003"
@@ -1234,13 +1246,17 @@ extern "C" {
12341246 pub fn dlclose ( handle : * mut :: c_void ) -> :: c_int ;
12351247 pub fn dladdr ( addr : * const :: c_void , info : * mut Dl_info ) -> :: c_int ;
12361248
1249+ #[ cfg( not( all( libc_cfg_target_vendor, target_arch = "powerpc" ,
1250+ target_vendor = "nintendo" ) ) ) ]
12371251 #[ cfg_attr( target_os = "illumos" , link_name = "__xnet_getaddrinfo" ) ]
12381252 pub fn getaddrinfo (
12391253 node : * const c_char ,
12401254 service : * const c_char ,
12411255 hints : * const addrinfo ,
12421256 res : * mut * mut addrinfo ,
12431257 ) -> :: c_int ;
1258+ #[ cfg( not( all( libc_cfg_target_vendor, target_arch = "powerpc" ,
1259+ target_vendor = "nintendo" ) ) ) ]
12441260 pub fn freeaddrinfo ( res : * mut addrinfo ) ;
12451261 pub fn gai_strerror ( errcode : :: c_int ) -> * const :: c_char ;
12461262 #[ cfg_attr(
0 commit comments