summaryrefslogtreecommitdiff
path: root/main/php_output.h
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2014-10-30 11:52:29 +0800
committerXinchen Hui <laruence@php.net>2014-10-30 11:52:29 +0800
commit9e1da42af18265d007b5246f01895d3cafc78939 (patch)
tree9a0ccf9b2f30d4019cef6d3b22bcfc02ec1e1719 /main/php_output.h
parent7b4993dd169a082c2fe79f975224057d1e16c779 (diff)
downloadphp-git-9e1da42af18265d007b5246f01895d3cafc78939.tar.gz
Use macro
Diffstat (limited to 'main/php_output.h')
-rw-r--r--main/php_output.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/main/php_output.h b/main/php_output.h
index edea0bff33..6c4b1f7a42 100644
--- a/main/php_output.h
+++ b/main/php_output.h
@@ -152,11 +152,7 @@ ZEND_BEGIN_MODULE_GLOBALS(output)
int output_start_lineno;
ZEND_END_MODULE_GLOBALS(output)
-#ifdef ZTS
-PHPAPI extern int output_globals_id;
-#else
-PHPAPI extern zend_output_globals output_globals;
-#endif
+ZEND_EXTERN_MODULE_GLOBALS(output);
/* there should not be a need to use OG() from outside of output.c */
#ifdef ZTS