From af11e1d592709e1fff726e3121332890acabbc17 Mon Sep 17 00:00:00 2001 From: Edin Kadribasic Date: Wed, 26 Apr 2006 09:31:23 +0000 Subject: Correctly import external data (#33292) --- sapi/apache/php_apache.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sapi/apache/php_apache.c') diff --git a/sapi/apache/php_apache.c b/sapi/apache/php_apache.c index 854ea18401..dd7abe2bb6 100644 --- a/sapi/apache/php_apache.c +++ b/sapi/apache/php_apache.c @@ -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.1