summaryrefslogtreecommitdiff
path: root/include/arch/win32
diff options
context:
space:
mode:
authorjerenkrantz <jerenkrantz@13f79535-47bb-0310-9956-ffa450edef68>2006-07-12 19:24:40 +0000
committerjerenkrantz <jerenkrantz@13f79535-47bb-0310-9956-ffa450edef68>2006-07-12 19:24:40 +0000
commitfe54634d698def66b935762348cc8a5bfd6db689 (patch)
treeec239e5a8cd9a7b650a009cece364a335048ba0f /include/arch/win32
parent369741f3dd46c8aa33703923539245d93866cfc1 (diff)
downloadlibapr-fe54634d698def66b935762348cc8a5bfd6db689.tar.gz
Do not support multicast on Win32 unless we're using MSVC++ as mingw
apparently doesn't define ip_mreq in its Winsock headers. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@421381 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/arch/win32')
-rw-r--r--include/arch/win32/apr_arch_networkio.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/arch/win32/apr_arch_networkio.h b/include/arch/win32/apr_arch_networkio.h
index e58b1d65a..a180ccf7c 100644
--- a/include/arch/win32/apr_arch_networkio.h
+++ b/include/arch/win32/apr_arch_networkio.h
@@ -64,9 +64,10 @@ typedef struct _WSABUF {
} WSABUF, FAR * LPWSABUF;
#endif
#else
-/* Not sure if this is the right place to define this */
+#ifdef _MSC_VER
#define HAVE_STRUCT_IPMREQ
#endif
+#endif
apr_status_t status_from_res_error(int);