summaryrefslogtreecommitdiff
path: root/main/php_output.h
diff options
context:
space:
mode:
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