We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
RWF_NOAPPEND
0
1 parent a5e514c commit cb28fa9Copy full SHA for cb28fa9
1 file changed
src/liburing/const.zig
@@ -86,7 +86,7 @@ pub const RWF_DSYNC = c.RWF_DSYNC;
86
pub const RWF_HIPRI = c.RWF_HIPRI;
87
pub const RWF_NOWAIT = c.RWF_NOWAIT;
88
pub const RWF_SYNC = c.RWF_SYNC;
89
-pub const RWF_NOAPPEND = c.RWF_NOAPPEND;
+pub const RWF_NOAPPEND = if (@hasDecl(c, "RWF_NOAPPEND")) c.RWF_NOAPPEND else 0;
90
pub const RWF_ATOMIC = c.RWF_ATOMIC;
91
92
// oz.constant("HELLO", if (@hasDecl(c, "IO_URING_VERSION_MAJOR")) c.IO_URING_VERSION_MAJOR else 0),
0 commit comments