]> granicus.if.org Git - php/commitdiff
MFB: Correctly import external data (#33292)
authorEdin Kadribasic <edink@php.net>
Wed, 26 Apr 2006 09:32:11 +0000 (09:32 +0000)
committerEdin Kadribasic <edink@php.net>
Wed, 26 Apr 2006 09:32:11 +0000 (09:32 +0000)
sapi/apache/php_apache.c

index ebc79025645d589877385a767d87b9b04076038a..bbe63e7e5251cb6eef23481d63b9455f03b5e83b 100644 (file)
@@ -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);