We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6876a78 + aee22bf commit dafefb7Copy full SHA for dafefb7
src/httpserver.cpp
@@ -365,6 +365,10 @@ static void HTTPWorkQueueRun(WorkQueue<HTTPClosure>* queue)
365
/** libevent event log callback */
366
static void libevent_log_cb(int severity, const char *msg)
367
{
368
+#ifndef EVENT_LOG_WARN
369
+// EVENT_LOG_WARN was added in 2.0.19; but before then _EVENT_LOG_WARN existed.
370
+# define EVENT_LOG_WARN _EVENT_LOG_WARN
371
+#endif
372
if (severity >= EVENT_LOG_WARN) // Log warn messages and higher without debug category
373
LogPrintf("libevent: %s\n", msg);
374
else
0 commit comments