aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changes/msvc4
-rw-r--r--src/win32/orconfig.h1
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 ""