r19641@catbus: nickm | 2008-05-07 17:51:26 -0400

Forward-port: Fix win32 vc-2005 build.


svn:r786
This commit is contained in:
Nick Mathewson 2008-05-07 21:51:49 +00:00
parent f2d65f8a9c
commit 0a804f3c83
3 changed files with 4 additions and 4 deletions

View File

@ -47,7 +47,7 @@
/* #undef HAVE_INET_NTOP */
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
/* #undef HAVE_INTTYPES_H 1 */
/* Define to 1 if you have the `kqueue' function. */
/* #undef HAVE_KQUEUE */

View File

@ -51,7 +51,7 @@
/* #undef _EVENT_HAVE_INET_NTOP */
/* Define to 1 if you have the <inttypes.h> header file. */
#define _EVENT_HAVE_INTTYPES_H 1
/* #define _EVENT_HAVE_INTTYPES_H 1 */
/* Define to 1 if you have the `kqueue' function. */
/* #undef _EVENT_HAVE_KQUEUE */

View File

@ -58,8 +58,8 @@ extern "C" {
#define ev_uint64_t uint64_t
#define ev_int64_t int64_t
#elif defined(WIN32)
#define ev_uint64_t __uint64_t
#define ev_int64_t __int64_t
#define ev_uint64_t unsigned __int64
#define ev_int64_t signed __int64
#elif _EVENT_SIZEOF_LONG_LONG == 8
#define ev_uint64_t unsigned long long
#define ev_int64_t long long