Forgot to rename to txt.

Am Sa., 23. Sept. 2023 um 18:19 Uhr schrieb Oleg Tolmatcev
<[email protected]>:
>
> Hello,
>
> this is needed by Dolphin.
>
> Best regards
> Oleg Tolmatcev
From 01a940e9fcb179e70166f4ad58f507cb5ae6151e Mon Sep 17 00:00:00 2001
From: Oleg Tolmatcev <[email protected]>
Date: Sun, 13 Aug 2023 13:22:07 +0200
Subject: [PATCH] headers: add NET_IFINDEX_UNSPECIFIED in ifdef.h

---
 mingw-w64-headers/include/ifdef.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/mingw-w64-headers/include/ifdef.h 
b/mingw-w64-headers/include/ifdef.h
index 0d78a003..896ef6cd 100644
--- a/mingw-w64-headers/include/ifdef.h
+++ b/mingw-w64-headers/include/ifdef.h
@@ -19,6 +19,9 @@ typedef UINT32 NET_IF_COMPARTMENT_ID, *PNET_IF_COMPARTMENT_ID;
 
 typedef ULONG NET_IFINDEX, *PNET_IFINDEX;
 typedef UINT16 NET_IFTYPE, *PNET_IFTYPE;
+
+#define NET_IFINDEX_UNSPECIFIED (NET_IFINDEX)(0)
+
 typedef NET_IFINDEX IF_INDEX, *PIF_INDEX;
 
 typedef GUID NET_IF_NETWORK_GUID;
-- 
2.41.0.windows.1

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to