You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Mladen Turk <mt...@apache.org> on 2004/08/01 10:31:04 UTC
[PATCH] mod_proxy -- enable WIN32 build
Hi,
Here is the patch that enables building proxy_http from HEAD.
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.
The PROXY_DEXLARE_DATA OTOH inside proxy_http expands to dllimport and
enables correct linking.
Index: mod_proxy.h
===================================================================
RCS file: /home/cvspublic/httpd-2.0/modules/proxy/mod_proxy.h,v
retrieving revision 1.92
diff -u -r1.92 mod_proxy.h
--- mod_proxy.h 4 Jul 2004 22:47:49 -0000 1.92
+++ mod_proxy.h 1 Aug 2004 08:17:58 -0000
@@ -256,6 +256,6 @@
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*/
Regards,
MT.