From 9e1da42af18265d007b5246f01895d3cafc78939 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Thu, 30 Oct 2014 11:52:29 +0800 Subject: Use macro --- main/php_output.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'main/php_output.h') 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 -- cgit v1.2.1