From ba50031707469046407a35b77a3cd81351e951b3 Mon Sep 17 00:00:00 2001 From: "Mark A. Hershberger" Date: Wed, 25 Mar 2009 00:35:28 -0400 Subject: Imported Upstream version 5.1.5 --- sapi/apache/php_apache.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sapi/apache/php_apache.c') diff --git a/sapi/apache/php_apache.c b/sapi/apache/php_apache.c index 159a4d940..07fe6bb8b 100644 --- a/sapi/apache/php_apache.c +++ b/sapi/apache/php_apache.c @@ -17,7 +17,7 @@ | David Sklar | +----------------------------------------------------------------------+ */ -/* $Id: php_apache.c,v 1.89.2.3 2006/01/01 12:50:18 sniper Exp $ */ +/* $Id: php_apache.c,v 1.89.2.4 2006/04/26 09:31:23 edink Exp $ */ #include "php_apache_http.h" @@ -34,8 +34,13 @@ php_apache_info_struct php_apache_info; #define SECTION(name) PUTS("

" name "

\n") +#ifndef PHP_WIN32 extern module *top_module; extern module **ap_loaded_modules; +#else +extern __declspec(dllimport) module *top_module; +extern __declspec(dllimport) module **ap_loaded_modules; +#endif PHP_FUNCTION(virtual); PHP_FUNCTION(apache_request_headers); -- cgit v1.2.3