diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-01-16 16:32:38 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-01-16 16:32:38 -0500 |
commit | 2645de704be23e1a4a2f565f10e4c81c8db0c82a (patch) | |
tree | 5d936dbdc6c12a6fa7b2fd182d29cb4185a2a71e | |
parent | 65e6e68981d9910c5f78f2cfed6c59cbee1494c7 (diff) | |
download | tor-2645de704be23e1a4a2f565f10e4c81c8db0c82a.tar.gz tor-2645de704be23e1a4a2f565f10e4c81c8db0c82a.zip |
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.
-rw-r--r-- | changes/msvc | 4 | ||||
-rw-r--r-- | 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 0000000000..9975c2d4c6 --- /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 4584228bc6..1d7a5f6fe9 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 "" |