mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-24 03:27:12 +01:00

* [libnice]Fix build error in windows. * [libnice] switched to vcpkg_extract_source_archive_ex
14 lines
386 B
Diff
14 lines
386 B
Diff
diff --git a/stun/usages/bind.c b/stun/usages/bind.c
|
|
index c5b09ab..58ef882 100644
|
|
--- a/stun/usages/bind.c
|
|
+++ b/stun/usages/bind.c
|
|
@@ -340,7 +340,7 @@ static void stun_trans_deinit (StunTransport *tr)
|
|
|
|
static int stun_err_dequeue (int fd)
|
|
{
|
|
-#ifdef MSG_ERRQUEUE
|
|
+#if (defined(MSG_ERRQUEUE) && !defined(_WIN32))
|
|
struct msghdr hdr;
|
|
int saved_errno = errno, ret;
|
|
|