diff options
author | fanquake <fanquake@gmail.com> | 2021-09-08 15:04:35 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-09-09 21:37:42 +0800 |
commit | 6045a1464252075f4135bd4a69d202d55d124eb2 (patch) | |
tree | 62c0bd28d357f5713de43c4a68200329a207948b /src/httpserver.cpp | |
parent | ecf580e40f607091a5e5d5fff9865237e037ea7f (diff) |
util: remove libevent <= 2.0.18 back-compat code
Now that we require libevent >=2.0.21, remove backwards compatibility
code for older versions.
Diffstat (limited to 'src/httpserver.cpp')
-rw-r--r-- | src/httpserver.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/httpserver.cpp b/src/httpserver.cpp index 8741ad9b86..fa0379f612 100644 --- a/src/httpserver.cpp +++ b/src/httpserver.cpp @@ -338,10 +338,6 @@ static void HTTPWorkQueueRun(WorkQueue<HTTPClosure>* queue, int worker_num) /** libevent event log callback */ static void libevent_log_cb(int severity, const char *msg) { -#ifndef EVENT_LOG_WARN -// EVENT_LOG_WARN was added in 2.0.19; but before then _EVENT_LOG_WARN existed. -# define EVENT_LOG_WARN _EVENT_LOG_WARN -#endif if (severity >= EVENT_LOG_WARN) // Log warn messages and higher without debug category LogPrintf("libevent: %s\n", msg); else |