From: Dave Hart Date: Wed, 3 Nov 2010 21:24:43 +0000 (+0000) Subject: Add ChangeLog entries, Windows build tweaks to Juergen Perlinger's X-Git-Tag: NTP_4_2_7P78~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf93f3b688d0a0955577ea2bb1f022a1d9725db1;p=thirdparty%2Fntp.git Add ChangeLog entries, Windows build tweaks to Juergen Perlinger's calendar refactoring and [Bug 1697] bk: 4cd1d31bmLEuuJHg8Wcz7oxhh8SpAg --- diff --git a/ChangeLog b/ChangeLog index c1a6a7c45..517ac246e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,5 @@ +* [Bug 1697] filegen implementation should be improved. +* Refactor calendar functions in terms of new common code. (4.2.7p77) 2010/11/03 Released by Harlan Stenn * [Bug 1692] packageinfo.sh needs to be "sourced" using ./ . * [Bug 1695] ntpdate takes longer than necessary. diff --git a/configure.ac b/configure.ac index 38c6d2bb6..e089f4678 100644 --- a/configure.ac +++ b/configure.ac @@ -1225,9 +1225,10 @@ case "$ac_cv_c_inline" in esac AC_C_CHAR_UNSIGNED dnl CROSS_COMPILE? -AC_CHECK_SIZEOF(signed char) -AC_CHECK_SIZEOF(int) -AC_CHECK_SIZEOF(long) +AC_CHECK_SIZEOF([signed char]) +AC_CHECK_SIZEOF([short]) +AC_CHECK_SIZEOF([int]) +AC_CHECK_SIZEOF([long]) AC_CHECK_TYPES([s_char]) case "$ac_cv_c_char_unsigned$ac_cv_sizeof_signed_char$ac_cv_type_s_char" in diff --git a/ports/winnt/include/config.h b/ports/winnt/include/config.h index aadca731f..056d91e61 100644 --- a/ports/winnt/include/config.h +++ b/ports/winnt/include/config.h @@ -353,6 +353,7 @@ typedef __int32 int32_t; /* define a typedef for int32_t */ # define HAVE_GETCLOCK # define SIZEOF_SIGNED_CHAR 1 +# define SIZEOF_SHORT 2 # define SIZEOF_INT 4 /* for ntp_types.h */ # define HAVE_SETVBUF diff --git a/ports/winnt/vc6/libntp.dsp b/ports/winnt/vc6/libntp.dsp index 51d2904b7..df3ee6b33 100644 --- a/ports/winnt/vc6/libntp.dsp +++ b/ports/winnt/vc6/libntp.dsp @@ -318,6 +318,10 @@ SOURCE=..\..\..\lib\isc\netscope.c # End Source File # Begin Source File +SOURCE=..\..\..\libntp\ntp_calendar.c +# End Source File +# Begin Source File + SOURCE=..\..\..\libntp\ntp_lineedit.c # End Source File # Begin Source File diff --git a/ports/winnt/vs2003/libntp.vcproj b/ports/winnt/vs2003/libntp.vcproj index 56873c17e..fd65f2f33 100644 --- a/ports/winnt/vs2003/libntp.vcproj +++ b/ports/winnt/vs2003/libntp.vcproj @@ -1202,6 +1202,27 @@ PreprocessorDefinitions=""/> + + + + + + + + + + + + + + + + diff --git a/ports/winnt/vs2008/libntp/libntp.vcproj b/ports/winnt/vs2008/libntp/libntp.vcproj index 115a70e13..d8c64a3e3 100644 --- a/ports/winnt/vs2008/libntp/libntp.vcproj +++ b/ports/winnt/vs2008/libntp/libntp.vcproj @@ -427,6 +427,10 @@ RelativePath="..\..\..\..\lib\isc\netscope.c" > + + @@ -849,11 +853,11 @@ >