]> granicus.if.org Git - php/commitdiff
add DLL export to the output globals
authorAnatol Belski <ab@php.net>
Thu, 30 Oct 2014 09:27:20 +0000 (10:27 +0100)
committerAnatol Belski <ab@php.net>
Thu, 30 Oct 2014 09:27:20 +0000 (10:27 +0100)
main/output.c
main/php_output.h

index 1dac7179b8eab2de35e145aaf2c4417478668fc8..0c7212ac91fac23f14b751b50e81bd60984d6dfc 100644 (file)
@@ -35,7 +35,7 @@
 #include "zend_stack.h"
 #include "php_output.h"
 
-ZEND_DECLARE_MODULE_GLOBALS(output);
+PHPAPI ZEND_DECLARE_MODULE_GLOBALS(output);
 
 const char php_output_default_handler_name[sizeof("default output handler")] = "default output handler";
 const char php_output_devnull_handler_name[sizeof("null output handler")] = "null output handler";
index 6c4b1f7a42956b9bf7e3c0566b4023c0a9f7a364..3831478b9f5e046d06662f59c42fa2c5626e4790 100644 (file)
@@ -152,7 +152,7 @@ ZEND_BEGIN_MODULE_GLOBALS(output)
        int output_start_lineno;
 ZEND_END_MODULE_GLOBALS(output)
 
-ZEND_EXTERN_MODULE_GLOBALS(output);
+PHPAPI ZEND_EXTERN_MODULE_GLOBALS(output);
 
 /* there should not be a need to use OG() from outside of output.c */
 #ifdef ZTS