From: Martin Burnicki Date: Wed, 20 Feb 2008 11:13:24 +0000 (+0100) Subject: [Bug 909] Define int32_t for Windows (backport from ntp-dev) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9164dbbfb3c19a7eec71bdc15e266493e89748e;p=thirdparty%2Fntp.git [Bug 909] Define int32_t for Windows (backport from ntp-dev) bk: 47bc0b54d5Ia6QhUYB8ZGTAEMyn8KQ --- diff --git a/ChangeLog b/ChangeLog index e003139936..a937ffed23 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ +* [Bug 909] Define int32_t for Windows (backport from ntp-dev) * [Bug 1000] allow implicit receive buffer allocation for Windows fixes startup for windows systems with many interfaces reduces dropped packets on network bursts diff --git a/ports/winnt/include/config.h b/ports/winnt/include/config.h index 43f3fc0feb..6119df7d2b 100644 --- a/ports/winnt/include/config.h +++ b/ports/winnt/include/config.h @@ -134,6 +134,8 @@ typedef unsigned int uintptr_t; #define pid_t int /* PID is an int */ #define ssize_t int /* ssize is an int */ +typedef __int32 int32_t; /* define a typedef for int32_t */ +#define HAVE_INT32_T 1 /* * Map the stream to the file number