+3187. [port] win32: support for Visual Studio 2008. [RT #26356]
+
3179. [port] kfreebsd: build issues. [RT #26273]
3175. [bug] Fix how DNSSEC positive wildcard responses from a
// are changed infrequently
//
+/*
+ * Minimum version is Windows XP
+ */
+#define _WIN32_WINNT 0x0501
+
#ifndef _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE 1
#endif
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: config.h.win32,v 1.19.48.2 2009/11/24 23:47:34 tbox Exp $ */
+/* $Id: config.h.win32,v 1.19.48.3 2011/10/30 23:46:37 marka Exp $ */
/*
* win32 configuration file
#define _USE_32BIT_TIME_T 1
/*
- * Windows NT and 2K only
+ * Minimum version is Windows XP
*/
-#define _WIN32_WINNT 0x0400
+#define _WIN32_WINNT 0x0501
+
/* Define if you have the ANSI C header files. */
#define STDC_HEADERS 1
*/
#define snprintf _snprintf
+#if _MSC_VER <= 1400
#define vsnprintf _vsnprintf
+#endif
#define strcasecmp _stricmp
#define strncasecmp _strnicmp
#define strdup _strdup
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: net.c,v 1.18.64.2 2009/09/23 23:47:15 tbox Exp $ */
+/* $Id: net.c,v 1.18.64.3 2011/10/30 23:46:38 marka Exp $ */
#include <config.h>
}
on = 1;
- if (setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY, &on, sizeof(on)) < 0) {
+ if (setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY, (const char *)&on,
+ sizeof(on)) < 0) {
ipv6only_result = ISC_R_NOTFOUND;
goto close;
}
}
on = 1;
- if (setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY, &on, sizeof(on)) < 0) {
+ if (setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY, (const char *)&on,
+ sizeof(on)) < 0) {
ipv6only_result = ISC_R_NOTFOUND;
goto close;
}