From 0050cc5c5a9c2e935ed65a2ca33901cf9e60e560 Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Sun, 20 Feb 2022 15:08:30 +0000 Subject: [PATCH] Remove some APR 0.x stuff. The minimum supported version is 1.3 in 2.4.x git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1898255 13f79535-47bb-0310-9956-ffa450edef68 --- modules/proxy/mod_proxy_ftp.c | 5 ----- modules/proxy/proxy_util.c | 5 ----- 2 files changed, 10 deletions(-) diff --git a/modules/proxy/mod_proxy_ftp.c b/modules/proxy/mod_proxy_ftp.c index 7df4a26f32..0dc3917c85 100644 --- a/modules/proxy/mod_proxy_ftp.c +++ b/modules/proxy/mod_proxy_ftp.c @@ -23,11 +23,6 @@ #endif #include "apr_version.h" -#if (APR_MAJOR_VERSION < 1) -#undef apr_socket_create -#define apr_socket_create apr_socket_create_ex -#endif - #define AUTODETECT_PWD /* Automatic timestamping (Last-Modified header) based on MDTM is used if: * 1) the FTP server supports the MDTM command and diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c index 73567c2281..1cc275e18c 100644 --- a/modules/proxy/proxy_util.c +++ b/modules/proxy/proxy_util.c @@ -31,11 +31,6 @@ #include /* for getpid() */ #endif -#if (APR_MAJOR_VERSION < 1) -#undef apr_socket_create -#define apr_socket_create apr_socket_create_ex -#endif - #if APR_HAVE_SYS_UN_H #include #endif