]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Definx HAVE_EVENT_BASE_LOOPEXITin msvc orconfig.h
authorNick Mathewson <nickm@torproject.org>
Wed, 16 Jan 2013 21:32:38 +0000 (16:32 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 16 Jan 2013 21:32:38 +0000 (16:32 -0500)
Fixes bug 7308; bugfix on no released Tor, since we haven't actually built
right on MSVC in ages.

changes/msvc [new file with mode: 0644]
src/win32/orconfig.h

diff --git a/changes/msvc b/changes/msvc
new file mode 100644 (file)
index 0000000..9975c2d
--- /dev/null
@@ -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".
index 4584228bc60d209be293a4ee1d14dc37461a33c7..1d7a5f6fe91ad7550aabdf899628065c78df10df 100644 (file)
 #define RSHIFT_DOES_SIGN_EXTEND
 #define FLEXIBLE_ARRAY_MEMBER 0
 #define HAVE_EVENT2_EVENT_H
+#define HAVE_EVENT_BASE_LOOPEXIT
 #define SHARE_DATADIR ""