From: Danny Mayer Date: Fri, 10 Nov 2006 03:57:09 +0000 (-0500) Subject: Bug #717 Add uintptr_t typedef for VS 6.0 X-Git-Tag: NTP_4_2_3P65_RC~2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c19a73b18b7b12b7eb190a2a1e76e2f6dda5f1a;p=thirdparty%2Fntp.git Bug #717 Add uintptr_t typedef for VS 6.0 bk: 4553f895kDF4YZOGoQxhLUnpjusbpw --- diff --git a/ports/winnt/include/config.h b/ports/winnt/include/config.h index 46b8ab763..43f3fc0fe 100644 --- a/ports/winnt/include/config.h +++ b/ports/winnt/include/config.h @@ -18,6 +18,13 @@ typedef int socklen_t; /* VS 6.0 doesn't know about socklen_t */ #endif +/* + * Some types don't exist in VS V6 + */ +#if _MSC_VER < 1300 +typedef unsigned int uintptr_t; +#endif + #define ISC_PLATFORM_NEEDIN6ADDRANY #define HAVE_SOCKADDR_IN6