MinGW: Fix latest MinGW support build

This commit is contained in:
Jon Shallow authored and Jon Shallow committed 2025-06-09 10:15:04 +01:00
1 parent d328fc5330
commit 1ed516a2bf
1 file changed
+2
+2
View File
@@ -95,7 +95,9 @@ coap_mfree_endpoint(coap_endpoint_t *ep) {
#define CMSG_NXTHDR WSA_CMSG_NXTHDR
#define CMSG_LEN WSA_CMSG_LEN
#define CMSG_SPACE WSA_CMSG_SPACE
#if(_WIN32_WINNT < 0x0603)
#define cmsghdr _WSACMSGHDR
#endif /* (_WIN32_WINNT<0x0603) */
#endif /* (_WIN32_WINNT>=0x0600) */
#endif /* defined(__MINGW32__) */