[httpd/artwork] Drop support for libevent <2.1.4

This commit is contained in:
ejurgensen
2022-12-18 10:24:43 +01:00
parent d38b07bbad
commit 5f342ea60b
5 changed files with 2 additions and 75 deletions

View File

@@ -63,17 +63,6 @@
#include "log.h"
#include "rtsp-internal.h"
// For compability with libevent 2.0 (HAVE_LIBEVENT2_OLD)
#if defined(_EVENT_HAVE_GETNAMEINFO)
# define EVENT__HAVE_GETNAMEINFO 1
#endif
#if defined(_EVENT_HAVE_GETADDRINFO)
# define EVENT__HAVE_GETADDRINFO 1
#endif
#if defined(_EVENT_HAVE_STRSEP)
# define EVENT__HAVE_STRSEP 1
#endif
#ifndef EVENT__HAVE_GETNAMEINFO
#define NI_MAXSERV 32
#define NI_MAXHOST 1025