| ... | @@ -279,7 +279,7 @@ pub const IO_Uring = struct { | ... | @@ -279,7 +279,7 @@ pub const IO_Uring = struct { |
| 279 | | 279 | |
| 280 | // Matches the implementation of cq_ring_needs_flush() in liburing. | 280 | // Matches the implementation of cq_ring_needs_flush() in liburing. |
| 281 | fn cq_ring_needs_flush(self: *IO_Uring) bool { | 281 | fn cq_ring_needs_flush(self: *IO_Uring) bool { |
| 282 | return (@atomicLoad(u32, self.sq.flags, .Unordered) & IORING_SQ_CQ_OVERFLOW) != 0; | 282 | return (@atomicLoad(u32, self.sq.flags, .Unordered) & linux.IORING_SQ_CQ_OVERFLOW) != 0; |
| 283 | } | 283 | } |
| 284 | | 284 | |
| 285 | /// For advanced use cases only that implement custom completion queue methods. | 285 | /// For advanced use cases only that implement custom completion queue methods. |