Bug 837395: define EAFNOSUPPORT for VC9 r=rjesup
authorBill Gianopoulos <bill@wg9s.com>
Sat, 02 Feb 2013 12:28:35 -0500
changeset 130568 eae4b34eb792efd0b33b06313fa9dda3c12166c6
parent 130567 b10cbe334217969b0fbd5b9fdf4e7a67d0808c32
child 130569 fcaec51a34727e1ac5780421a95593afae018b88
push id2323
push userbbajaj@mozilla.com
push dateMon, 01 Apr 2013 19:47:02 +0000
treeherdermozilla-beta@7712be144d91 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrjesup
bugs837395
milestone21.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 837395: define EAFNOSUPPORT for VC9 r=rjesup
media/mtransport/third_party/nrappkit/src/util/util.c
--- a/media/mtransport/third_party/nrappkit/src/util/util.c
+++ b/media/mtransport/third_party/nrappkit/src/util/util.c
@@ -504,16 +504,19 @@ strlcat(dst, src, siz)
 }
 
 #endif  /* LINUX or WIN32 */
 
 #if defined(USE_OWN_INET_NTOP) || defined(WIN32)
 #include <errno.h>
 #ifdef WIN32
 #include <Ws2ipdef.h>
+#ifndef EAFNOSUPPORT
+#define EAFNOSUPPORT            WSAEAFNOSUPPORT
+#endif
 #else
 #include <sys/socket.h>
 #endif
 #define INET6
 
 /* inet_ntop implementation from NetBSD */
 
 /*