]> granicus.if.org Git - apache/commitdiff
Modify placement of PROXY_DECLARE_DATA to fix build problems with MSVC,
authorStefan Fritsch <sf@apache.org>
Thu, 3 Nov 2011 05:35:51 +0000 (05:35 +0000)
committerStefan Fritsch <sf@apache.org>
Thu, 3 Nov 2011 05:35:51 +0000 (05:35 +0000)
reported by Gregg L. Smith

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1196946 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy.h
modules/proxy/proxy_util.c

index 7108584fe1f2d01fe4c74cd26002feb30fb6ea42..a45adf6434db2b863bd3cdd4755027ee6365e08b 100644 (file)
@@ -897,8 +897,8 @@ int ap_proxy_lb_workers(void);
 extern module PROXY_DECLARE_DATA proxy_module;
 
 extern int PROXY_DECLARE_DATA proxy_lb_workers;
-extern const apr_strmatch_pattern * PROXY_DECLARE_DATA ap_proxy_strmatch_path;
-extern const apr_strmatch_pattern * PROXY_DECLARE_DATA ap_proxy_strmatch_domain;
+extern const apr_strmatch_pattern PROXY_DECLARE_DATA *ap_proxy_strmatch_path;
+extern const apr_strmatch_pattern PROXY_DECLARE_DATA *ap_proxy_strmatch_domain;
 
 #endif /*MOD_PROXY_H*/
 /** @} */
index 5c1f8423662ef951cd02c9bf9feb34078befdc56..b0a9c19f7ff1e1a3756c7c5eec804a0b7bd43a9c 100644 (file)
@@ -65,8 +65,8 @@ static struct wstat {
 /* Global balancer counter */
 int PROXY_DECLARE_DATA proxy_lb_workers = 0;
 static int lb_workers_limit = 0;
-const apr_strmatch_pattern * PROXY_DECLARE_DATA ap_proxy_strmatch_path;
-const apr_strmatch_pattern * PROXY_DECLARE_DATA ap_proxy_strmatch_domain;
+const apr_strmatch_pattern PROXY_DECLARE_DATA *ap_proxy_strmatch_path;
+const apr_strmatch_pattern PROXY_DECLARE_DATA *ap_proxy_strmatch_domain;
 
 static int proxy_match_ipaddr(struct dirconn_entry *This, request_rec *r);
 static int proxy_match_domainname(struct dirconn_entry *This, request_rec *r);