@@ -688,6 +688,7 @@ bitflags! {
688
688
}
689
689
690
690
#[ cfg( not( any(
691
+ target_os = "aix" ,
691
692
target_os = "illumos" ,
692
693
target_os = "netbsd" ,
693
694
target_os = "openbsd" ,
@@ -701,6 +702,7 @@ bitflags! {
701
702
pub struct FallocateFlags : i32 {
702
703
/// `FALLOC_FL_KEEP_SIZE`
703
704
#[ cfg( not( any(
705
+ target_os = "aix" ,
704
706
target_os = "dragonfly" ,
705
707
target_os = "freebsd" ,
706
708
target_os = "haiku" ,
@@ -713,6 +715,7 @@ bitflags! {
713
715
const KEEP_SIZE = c:: FALLOC_FL_KEEP_SIZE ;
714
716
/// `FALLOC_FL_PUNCH_HOLE`
715
717
#[ cfg( not( any(
718
+ target_os = "aix" ,
716
719
target_os = "dragonfly" ,
717
720
target_os = "freebsd" ,
718
721
target_os = "haiku" ,
@@ -725,6 +728,7 @@ bitflags! {
725
728
const PUNCH_HOLE = c:: FALLOC_FL_PUNCH_HOLE ;
726
729
/// `FALLOC_FL_NO_HIDE_STALE`
727
730
#[ cfg( not( any(
731
+ target_os = "aix" ,
728
732
target_os = "dragonfly" ,
729
733
target_os = "freebsd" ,
730
734
target_os = "haiku" ,
@@ -740,6 +744,7 @@ bitflags! {
740
744
const NO_HIDE_STALE = c:: FALLOC_FL_NO_HIDE_STALE ;
741
745
/// `FALLOC_FL_COLLAPSE_RANGE`
742
746
#[ cfg( not( any(
747
+ target_os = "aix" ,
743
748
target_os = "dragonfly" ,
744
749
target_os = "freebsd" ,
745
750
target_os = "haiku" ,
@@ -753,6 +758,7 @@ bitflags! {
753
758
const COLLAPSE_RANGE = c:: FALLOC_FL_COLLAPSE_RANGE ;
754
759
/// `FALLOC_FL_ZERO_RANGE`
755
760
#[ cfg( not( any(
761
+ target_os = "aix" ,
756
762
target_os = "dragonfly" ,
757
763
target_os = "freebsd" ,
758
764
target_os = "haiku" ,
@@ -766,6 +772,7 @@ bitflags! {
766
772
const ZERO_RANGE = c:: FALLOC_FL_ZERO_RANGE ;
767
773
/// `FALLOC_FL_INSERT_RANGE`
768
774
#[ cfg( not( any(
775
+ target_os = "aix" ,
769
776
target_os = "dragonfly" ,
770
777
target_os = "freebsd" ,
771
778
target_os = "haiku" ,
@@ -779,6 +786,7 @@ bitflags! {
779
786
const INSERT_RANGE = c:: FALLOC_FL_INSERT_RANGE ;
780
787
/// `FALLOC_FL_UNSHARE_RANGE`
781
788
#[ cfg( not( any(
789
+ target_os = "aix" ,
782
790
target_os = "dragonfly" ,
783
791
target_os = "freebsd" ,
784
792
target_os = "haiku" ,
@@ -812,7 +820,7 @@ bitflags! {
812
820
const NOATIME = libc:: ST_NOATIME as u64 ;
813
821
814
822
/// `ST_NODEV`
815
- #[ cfg( any( target_os = "android" , target_os = "emscripten" , target_os = "fuchsia" , target_os = "linux" ) ) ]
823
+ #[ cfg( any( target_os = "aix" , target_os = " android", target_os = "emscripten" , target_os = "fuchsia" , target_os = "linux" ) ) ]
816
824
const NODEV = libc:: ST_NODEV as u64 ;
817
825
818
826
/// `ST_NODIRATIME`
0 commit comments