From 0fa986980f9fad917545dbeef1fe1e07e1e062c9 Mon Sep 17 00:00:00 2001 From: Graham Leggett Date: Wed, 4 Aug 2004 00:32:07 +0000 Subject: [PATCH] Fixes the build of proxy on Windows. Since the proxy_module is declared as extern using AP_MODULE_DECLARE_DATA that expands to dllexport, there is a LNK2001 error when building proxy_http. PR: Obtained from: Mladen Turk Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104469 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES | 4 ++++ modules/proxy/mod_proxy.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 03304556c8..22aed4e4a9 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,10 @@ Changes with Apache 2.1.0-dev [Remove entries to the current 2.0 section below, when backported] + *) Fixes the build of proxy on Windows. Since the proxy_module is declared + as extern using AP_MODULE_DECLARE_DATA that expands to dllexport, there + is a LNK2001 error when building proxy_http. [Mladen Turk] + *) Remove LDAP toolkit specific code from util_ldap and mod_auth_ldap. [Graham Leggett] diff --git a/modules/proxy/mod_proxy.h b/modules/proxy/mod_proxy.h index d0d5de3c2a..4ff5f1c8dc 100644 --- a/modules/proxy/mod_proxy.h +++ b/modules/proxy/mod_proxy.h @@ -256,6 +256,6 @@ PROXY_DECLARE(int) ap_proxy_ssl_enable(conn_rec *c); PROXY_DECLARE(int) ap_proxy_ssl_disable(conn_rec *c); /* For proxy_util */ -extern module AP_MODULE_DECLARE_DATA proxy_module; +extern module PROXY_DECLARE_DATA proxy_module; #endif /*MOD_PROXY_H*/ -- 2.40.0