diff options
author | Anatol Belski <ab@php.net> | 2014-10-30 10:27:20 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-10-30 10:27:20 +0100 |
commit | 73e2dd338133602825d55b29b8dfb93c3c2c9e2f (patch) | |
tree | a36e3d029f50186f5a14f987c547f6b16e0dc110 | |
parent | 9e1da42af18265d007b5246f01895d3cafc78939 (diff) | |
download | php-git-73e2dd338133602825d55b29b8dfb93c3c2c9e2f.tar.gz |
add DLL export to the output globals
-rw-r--r-- | main/output.c | 2 | ||||
-rw-r--r-- | main/php_output.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/main/output.c b/main/output.c index 1dac7179b8..0c7212ac91 100644 --- a/main/output.c +++ b/main/output.c @@ -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"; diff --git a/main/php_output.h b/main/php_output.h index 6c4b1f7a42..3831478b9f 100644 --- a/main/php_output.h +++ b/main/php_output.h @@ -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 |