diff options
author | jerenkrantz <jerenkrantz@13f79535-47bb-0310-9956-ffa450edef68> | 2006-07-12 19:24:40 +0000 |
---|---|---|
committer | jerenkrantz <jerenkrantz@13f79535-47bb-0310-9956-ffa450edef68> | 2006-07-12 19:24:40 +0000 |
commit | fe54634d698def66b935762348cc8a5bfd6db689 (patch) | |
tree | ec239e5a8cd9a7b650a009cece364a335048ba0f | |
parent | 369741f3dd46c8aa33703923539245d93866cfc1 (diff) | |
download | libapr-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
-rw-r--r-- | include/arch/win32/apr_arch_networkio.h | 3 |
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); |