summaryrefslogtreecommitdiff
path: root/sapi/apache
diff options
context:
space:
mode:
authorEdin Kadribasic <edink@php.net>2006-04-26 09:31:23 +0000
committerEdin Kadribasic <edink@php.net>2006-04-26 09:31:23 +0000
commitaf11e1d592709e1fff726e3121332890acabbc17 (patch)
tree6f8fa04e70056122d6783d1cb5fa65ddc2af3267 /sapi/apache
parentd18cd00657eb3b6828e32152211b81328182fde8 (diff)
downloadphp-git-af11e1d592709e1fff726e3121332890acabbc17.tar.gz
Correctly import external data (#33292)
Diffstat (limited to 'sapi/apache')
-rw-r--r--sapi/apache/php_apache.c5
1 files changed, 5 insertions, 0 deletions
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("<h2>" name "</h2>\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);