From: Edin Kadribasic Date: Wed, 26 Apr 2006 09:32:11 +0000 (+0000) Subject: MFB: Correctly import external data (#33292) X-Git-Tag: BEFORE_NEW_OUTPUT_API~363 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=80ac536d135cec6f9a238524eb04a0081e2ab0c0;p=php MFB: Correctly import external data (#33292) --- diff --git a/sapi/apache/php_apache.c b/sapi/apache/php_apache.c index ebc7902564..bbe63e7e52 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);