+* [Bug 1448] Some macros not correctly conditionally or absolutely defined
+ on Windows
+* [Bug 1449] ntpsim.h should be conditionally in ntp_config.c
+* [Bug 1450] Option to exclude warnings not unconditionally defined on Windows
---
* [Bug 1445] IRIX does not have -lcap or support linux capabilities.
isc_netaddr_any6(isc_netaddr_t *netaddr) {
memset(netaddr, 0, sizeof(*netaddr));
netaddr->family = AF_INET6;
- netaddr->type.in6 = in6addr_any;
+/* netaddr->type.in6 = in6addr_any; Not strictly necessary */
}
isc_boolean_t
*** Network.
***/
-#define ISC_PLATFORM_HAVEIPV6
#if _MSC_VER > 1200
+#define ISC_PLATFORM_HAVEIPV6
#define ISC_PLATFORM_HAVEIN6PKTINFO
-#endif
#define ISC_PLATFORM_HAVESCOPEID
+#endif
#define ISC_PLATFORM_NEEDPORTT
#undef MSG_TRUNC
#define ISC_PLATFORM_NEEDNTOP
memcpy(&dst->type.in6,
&((struct sockaddr_in6 *) src)->sin6_addr,
sizeof(struct in6_addr));
+#ifdef ISC_PLATFORM_HAVESCOPEID
dst->zone = ((struct sockaddr_in6 *) src)->sin6_scope_id;
+#endif
break;
default:
INSIST(0);
#include "ntp_filegen.h"
#include "ntp_stdlib.h"
#include "ntp_assert.h"
-#include "ntpsim.h"
#include "ntpd-opts.h"
+#ifdef SIM
+#include "ntpsim.h"
+#endif
#include <ntp_random.h>
#include "ntp_intres.h"
#include <isc/net.h>
#define ISC_PLATFORM_HAVEIPV6
#define ISC_PLATFORM_HAVESCOPEID
#define HAVE_STRUCT_SOCKADDR_STORAGE
-#define NO_OPTION_NAME_WARNINGS
+#define ISC_PLATFORM_HAVEIN6PKTINFO
#endif /* in_addr6 / RFC2553-compliant IPv6 headers */
-#define ISC_PLATFORM_HAVEIN6PKTINFO
+#define NO_OPTION_NAME_WARNINGS
#if !defined( _W64 )
/*
# End Source File\r
# Begin Source File\r
\r
-SOURCE=..\..\..\lib\isc\win32\stdime.c\r
-# End Source File\r
-# Begin Source File\r
-\r
SOURCE=..\libntp\syslog.c\r
# End Source File\r
# Begin Source File\r