View | Details | Raw Unified | Return to bug 40398
Collapse All | Expand All

(-)include/apr.hw (-2 / +18 lines)
Lines 77-84 Link Here
77
#ifndef _WIN32_WINNT
77
#ifndef _WIN32_WINNT
78
78
79
/* Restrict the server to a subset of Windows NT 4.0 header files by default
79
/* Restrict the server to a subset of Windows NT 4.0 header files by default
80
 *
81
 * In order to use the MCAST API - 0x0501 is required!
80
 */
82
 */
81
#define _WIN32_WINNT 0x0400
83
#define _WIN32_WINNT 0x0501 /* _WIN32_WINNT_WINXP */
82
#endif
84
#endif
83
#ifndef NOUSER
85
#ifndef NOUSER
84
#define NOUSER
86
#define NOUSER
Lines 103-108 Link Here
103
#else
105
#else
104
#include <winsock.h>
106
#include <winsock.h>
105
#endif
107
#endif
108
109
/* Solve moronic tangle of defintions and dependencies from the world
110
 * according to win32 api; it unconditionally declares MCAST_JOIN_SOURCE_GROUP
111
 * while it declares group_source_req etc for _WIN32_WINNT_WINXP and later.
112
 * Note: testing defined(GROUP_FILTER_SIZE) instead of MCAST_JOIN_SOURCE_GROUP
113
 * within multicast.c would solve this connundrum.
114
 *
115
 * To build for mcast, define _WIN32_WINNT as _WIN32_WINNT_WINXP above.
116
 */
117
#if defined( MCAST_JOIN_SOURCE_GROUP ) \
118
        && ( _WIN32_WINNT < 0x0501 /*_WIN32_WINNT_WINXP*/ )
119
#undef MCAST_JOIN_SOURCE_GROUP 
120
#endif
121
106
#endif /* !_WINDOWS_ */
122
#endif /* !_WINDOWS_ */
107
123
108
/**
124
/**
Lines 217-223 Link Here
217
#define APR_HAVE_IN_ADDR        1
233
#define APR_HAVE_IN_ADDR        1
218
#define APR_HAVE_INET_ADDR      1
234
#define APR_HAVE_INET_ADDR      1
219
#define APR_HAVE_INET_NETWORK   0
235
#define APR_HAVE_INET_NETWORK   0
220
#define APR_HAVE_IPV6           0
236
#define APR_HAVE_IPV6           1
221
#define APR_HAVE_MEMMOVE        1
237
#define APR_HAVE_MEMMOVE        1
222
#define APR_HAVE_SETRLIMIT      0
238
#define APR_HAVE_SETRLIMIT      0
223
#define APR_HAVE_SIGACTION      0
239
#define APR_HAVE_SIGACTION      0

Return to bug 40398