httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mladen Turk" <mt...@apache.org>
Subject [PATCH] mod_proxy -- enable WIN32 build
Date Sun, 01 Aug 2004 08:31:04 GMT
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.

Mime
View raw message