From: Dave Hart Date: Mon, 20 Jul 2009 09:39:06 +0000 (+0000) Subject: Windows port fixes for new Autogen and libopts X-Git-Tag: NTP_4_2_5P190~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d02c7cce4a911dc154f3200086832b253ce592be;p=thirdparty%2Fntp.git Windows port fixes for new Autogen and libopts bk: 4a643b3av6G_uwQcFbiw6zu-3QhV6A --- diff --git a/ports/winnt/include/config.h b/ports/winnt/include/config.h index ccb2cd6c2..4ec45469a 100644 --- a/ports/winnt/include/config.h +++ b/ports/winnt/include/config.h @@ -344,10 +344,15 @@ char *NTstrerror(int errnum); #define HAVE_STRCHR 1 #define HAVE_FCNTL_H 1 #define HAVE_SYS_RESOURCE_H +#define HAVE_INTTYPES_H #define HAVE_BSD_NICE /* emulate BSD setpriority() */ typedef char *caddr_t; +#ifdef _WCTYPE_T_DEFINED /* see vc/include/crtdefs.h */ +#define HAVE_WINT_T +#endif + #ifndef _INTPTR_T_DEFINED typedef long intptr_t; #define _INTPTR_T_DEFINED diff --git a/ports/winnt/include/inttypes.h b/ports/winnt/include/inttypes.h new file mode 100644 index 000000000..04b0b8fda --- /dev/null +++ b/ports/winnt/include/inttypes.h @@ -0,0 +1 @@ +/* inttypes.h dummy for autoopts */ diff --git a/ports/winnt/libntp/libntp.dsp b/ports/winnt/libntp/libntp.dsp index d8cb0ac00..b359e1f66 100644 --- a/ports/winnt/libntp/libntp.dsp +++ b/ports/winnt/libntp/libntp.dsp @@ -446,6 +446,10 @@ SOURCE=..\include\arpa\inet.h # End Source File # Begin Source File +SOURCE=..\include\inttypes.h +# End Source File +# Begin Source File + SOURCE=..\..\..\include\isc\interfaceiter.h # End Source File # Begin Source File diff --git a/ports/winnt/libntp/libntp.vcproj b/ports/winnt/libntp/libntp.vcproj index 53e349859..71a3d14bb 100644 --- a/ports/winnt/libntp/libntp.vcproj +++ b/ports/winnt/libntp/libntp.vcproj @@ -1918,6 +1918,10 @@ RelativePath="..\..\..\include\isc\interfaceiter.h" > + +