[tor-commits] [tor/master] Definx HAVE_EVENT_BASE_LOOPEXITin msvc orconfig.h
nickm at torproject.org
nickm at torproject.org
Wed Jan 16 21:33:29 UTC 2013
commit 2645de704be23e1a4a2f565f10e4c81c8db0c82a
Author: Nick Mathewson <nickm at torproject.org>
Date: Wed Jan 16 16:32:38 2013 -0500
Definx HAVE_EVENT_BASE_LOOPEXITin msvc orconfig.h
Fixes bug 7308; bugfix on no released Tor, since we haven't actually built
right on MSVC in ages.
---
changes/msvc | 4 ++++
src/win32/orconfig.h | 1 +
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/changes/msvc b/changes/msvc
new file mode 100644
index 0000000..9975c2d
--- /dev/null
+++ b/changes/msvc
@@ -0,0 +1,4 @@
+ o Build fixes (MSVC):
+ - Correctly define HAVE_EVENT_BASE_LOOPEXIT, since we only build
+ with MSVC when using Libevent 2.0 or later. Fixes bug 7308.
+ Reported by "ultramage".
diff --git a/src/win32/orconfig.h b/src/win32/orconfig.h
index 4584228..1d7a5f6 100644
--- a/src/win32/orconfig.h
+++ b/src/win32/orconfig.h
@@ -247,4 +247,5 @@
#define RSHIFT_DOES_SIGN_EXTEND
#define FLEXIBLE_ARRAY_MEMBER 0
#define HAVE_EVENT2_EVENT_H
+#define HAVE_EVENT_BASE_LOOPEXIT
#define SHARE_DATADIR ""
More information about the tor-commits
mailing list