Signed-off-by: Biswapriyo Nath <[email protected]>
---
mingw-w64-headers/include/ntioring_x.h | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/mingw-w64-headers/include/ntioring_x.h
b/mingw-w64-headers/include/ntioring_x.h
index 2fe02aa..c82c034 100644
--- a/mingw-w64-headers/include/ntioring_x.h
+++ b/mingw-w64-headers/include/ntioring_x.h
@@ -15,7 +15,11 @@ extern "C" {
typedef enum IORING_VERSION {
IORING_VERSION_INVALID = 0,
- IORING_VERSION_1
+ IORING_VERSION_1,
+ IORING_VERSION_2
+#if NTDDI_VERSION >= NTDDI_WIN10_NI
+ , IORING_VERSION_3 = 300
+#endif
} IORING_VERSION;
typedef enum IORING_FEATURE_FLAGS {
@@ -31,6 +35,10 @@ typedef enum IORING_OP_CODE {
IORING_OP_REGISTER_FILES,
IORING_OP_REGISTER_BUFFERS,
IORING_OP_CANCEL
+#if NTDDI_VERSION >= NTDDI_WIN10_NI
+ , IORING_OP_WRITE
+ , IORING_OP_FLUSH
+#endif
} IORING_OP_CODE;
typedef struct IORING_BUFFER_INFO {
--
2.41.0
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public