@@ -497,7 +497,8 @@ pub mod types {
497
497
#[ cfg( any( target_arch = "x86" ,
498
498
target_arch = "arm" ,
499
499
target_arch = "mips" ,
500
- target_arch = "mipsel" ) ) ]
500
+ target_arch = "mipsel" ,
501
+ target_arch = "powerpc" ) ) ]
501
502
pub mod arch {
502
503
pub mod c95 {
503
504
pub type c_char = i8 ;
@@ -528,7 +529,8 @@ pub mod types {
528
529
}
529
530
#[ cfg( any( target_arch = "x86" ,
530
531
target_arch = "mips" ,
531
- target_arch = "mipsel" ) ) ]
532
+ target_arch = "mipsel" ,
533
+ target_arch = "powerpc" ) ) ]
532
534
pub mod posix88 {
533
535
pub type off_t = i32 ;
534
536
pub type dev_t = u64 ;
@@ -642,7 +644,9 @@ pub mod types {
642
644
pub __size : [ u32 ; 9 ]
643
645
}
644
646
}
645
- #[ cfg( any( target_arch = "mips" , target_arch = "mipsel" ) ) ]
647
+ #[ cfg( any( target_arch = "mips" ,
648
+ target_arch = "mipsel" ,
649
+ target_arch = "powerpc" ) ) ]
646
650
pub mod posix01 {
647
651
use types:: os:: arch:: c95:: { c_long, c_ulong, time_t} ;
648
652
use types:: os:: arch:: posix88:: { gid_t, ino_t} ;
@@ -2697,7 +2701,9 @@ pub mod consts {
2697
2701
pub const EHWPOISON : c_int = 133 ;
2698
2702
}
2699
2703
2700
- #[ cfg( any( target_arch = "mips" , target_arch = "mipsel" ) ) ]
2704
+ #[ cfg( any( target_arch = "mips" ,
2705
+ target_arch = "mipsel" ,
2706
+ target_arch = "powerpc" ) ) ]
2701
2707
pub mod posix88 {
2702
2708
use types:: os:: arch:: c95:: c_int;
2703
2709
use types:: common:: c95:: c_void;
@@ -2982,7 +2988,8 @@ pub mod consts {
2982
2988
#[ cfg( all( target_os = "linux" ,
2983
2989
any( target_arch = "mips" ,
2984
2990
target_arch = "mipsel" ,
2985
- target_arch = "aarch64" ) ) ) ]
2991
+ target_arch = "aarch64" ,
2992
+ target_arch = "powerpc" ) ) ) ]
2986
2993
pub const PTHREAD_STACK_MIN : size_t = 131072 ;
2987
2994
2988
2995
pub const CLOCK_REALTIME : c_int = 0 ;
@@ -3040,7 +3047,9 @@ pub mod consts {
3040
3047
pub const SHUT_WR : c_int = 1 ;
3041
3048
pub const SHUT_RDWR : c_int = 2 ;
3042
3049
}
3043
- #[ cfg( any( target_arch = "mips" , target_arch = "mipsel" ) ) ]
3050
+ #[ cfg( any( target_arch = "mips" ,
3051
+ target_arch = "mipsel" ,
3052
+ target_arch = "powerpc" ) ) ]
3044
3053
pub mod bsd44 {
3045
3054
use types:: os:: arch:: c95:: c_int;
3046
3055
@@ -3115,7 +3124,9 @@ pub mod consts {
3115
3124
pub const MAP_NONBLOCK : c_int = 0x010000 ;
3116
3125
pub const MAP_STACK : c_int = 0x020000 ;
3117
3126
}
3118
- #[ cfg( any( target_arch = "mips" , target_arch = "mipsel" ) ) ]
3127
+ #[ cfg( any( target_arch = "mips" ,
3128
+ target_arch = "mipsel" ,
3129
+ target_arch = "powerpc" ) ) ]
3119
3130
pub mod extra {
3120
3131
use types:: os:: arch:: c95:: c_int;
3121
3132
0 commit comments