com php-src: add DLL export to the output globals: main/output.c main/php_output.h
| From: | Anatol Belski | Date: | Thu, 30 Oct 2014 09:27:20 +0000 |
| Subject: | com php-src: add DLL export to the output globals: main/output.c main/php_output.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-82888@lists.php.net to get a copy of this message | ||
Commit: 73e2dd338133602825d55b29b8dfb93c3c2c9e2f
Author: Anatol Belski <ab@php.net> Thu, 30 Oct 2014 10:27:20 +0100
Parents: 9e1da42af18265d007b5246f01895d3cafc78939
Branches: PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=73e2dd338133602825d55b29b8dfb93c3c2c9e2f
Log:
add DLL export to the output globals
Changed paths:
M main/output.c
M main/php_output.h
Diff:
diff --git a/main/output.c b/main/output.c
index 1dac717..0c7212a 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 6c4b1f7..3831478 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