mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 01:58:59 +08:00
7f364076bb
* [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;
|
|
|