]> granicus.if.org Git - libevent/commitdiff
r14697@catbus: nickm | 2007-08-19 13:24:39 -0400
authorNick Mathewson <nickm@torproject.org>
Sun, 19 Aug 2007 17:25:52 +0000 (17:25 +0000)
committerNick Mathewson <nickm@torproject.org>
Sun, 19 Aug 2007 17:25:52 +0000 (17:25 +0000)
 Remove redundant typedef of socklen_t in evdns.c: On windows, it is already defined by autoconf in config.h.

svn:r398

evdns.c

diff --git a/evdns.c b/evdns.c
index e8317d3dad61c6aeebc4e878515b9cd64ad1db17..4b0510e95c96055a5004f6e055046fe9e58d9ddb 100644 (file)
--- a/evdns.c
+++ b/evdns.c
 #include <netinet/in6.h>
 #endif
 
-#ifdef WIN32
-typedef int socklen_t;
-#endif
-
 #define EVDNS_LOG_DEBUG 0
 #define EVDNS_LOG_WARN 1