From 91e4a887c627b10ccbc080b43b9a4d10cb26b9e2 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Tue, 30 Sep 2008 15:20:40 +0000 Subject: [PATCH] Previous commit accidentaly didn't include a2netcompat.h. --- src/a2netcompat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/a2netcompat.h b/src/a2netcompat.h index 31a2757f..2affea81 100644 --- a/src/a2netcompat.h +++ b/src/a2netcompat.h @@ -50,12 +50,12 @@ #endif // !__CYGWIN__ #ifdef __MINGW32__ -# define SOCKOPT_T const char +# define SOCKOPT_T char # define HAVE_GETADDRINFO # undef HAVE_GAI_STRERROR # undef gai_strerror #else -# define SOCKOPT_T socklen_t +# define SOCKOPT_T int #endif // __MINGW32__ #ifdef HAVE_NETDB_H