aboutsummaryrefslogtreecommitdiff
path: root/ports/libnice/fix-build_in_windows.patch
blob: 9eb341423fea5e232fd5f7f13b83e67a14825a0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;