From 5d76185792d2c7c7d47838b71a0b230f9668e21c Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Wed, 29 Oct 2014 20:02:41 +0100 Subject: export output globals needed by phpdbg --- main/php_output.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'main/php_output.h') diff --git a/main/php_output.h b/main/php_output.h index 0312e256f8..947da2c915 100644 --- a/main/php_output.h +++ b/main/php_output.h @@ -152,6 +152,12 @@ 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 php_output_globals output_globals; +#endif + /* there should not be a need to use OG() from outside of output.c */ #ifdef ZTS # define OG(v) TSRMG(output_globals_id, zend_output_globals *, v) -- cgit v1.2.1