summaryrefslogtreecommitdiff
path: root/src/common/compat_libevent.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-05-30 15:41:46 -0400
committerNick Mathewson <nickm@torproject.org>2011-05-30 15:41:46 -0400
commitfa1d47293b62fd378a7e43cf3ce3e7bb3be884e3 (patch)
treeb80ab67323274c8ae1e2f8097278e923c5d5d243 /src/common/compat_libevent.h
parent21de9d46e264ceb14f3fe59d17210d82f2499637 (diff)
parent7f0fb8e6083128ff20b30d8cd29c220e9427d95e (diff)
downloadtor-fa1d47293b62fd378a7e43cf3ce3e7bb3be884e3.tar.gz
tor-fa1d47293b62fd378a7e43cf3ce3e7bb3be884e3.zip
Merge remote-tracking branch 'origin/maint-0.2.2'
The conflicts were mainly caused by the routerinfo->node transition. Conflicts: src/or/circuitbuild.c src/or/command.c src/or/connection_edge.c src/or/directory.c src/or/dirserv.c src/or/relay.c src/or/rendservice.c src/or/routerlist.c
Diffstat (limited to 'src/common/compat_libevent.h')
-rw-r--r--src/common/compat_libevent.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/common/compat_libevent.h b/src/common/compat_libevent.h
index 496544d005..8669fd4e0b 100644
--- a/src/common/compat_libevent.h
+++ b/src/common/compat_libevent.h
@@ -12,15 +12,12 @@ struct event_base;
struct bufferevent;
#endif
-
#ifdef HAVE_EVENT2_EVENT_H
#include <event2/util.h>
-#else
-#ifndef EVUTIL_SOCKET_DEFINED
+#elif !defined(EVUTIL_SOCKET_DEFINED)
#define EVUTIL_SOCKET_DEFINED
#define evutil_socket_t int
#endif
-#endif
void configure_libevent_logging(void);
void suppress_libevent_log_msg(const char *msg);