mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Zend/zend_execute: always include zend_globals.h
Commit ecc880f491
was incomplete; EG() is used in inline functions
outside of ZEND_DEBUG.
This commit is contained in:
parent
a60c6ee0ac
commit
4069a5c43f
1 changed files with 2 additions and 5 deletions
|
@ -22,15 +22,12 @@
|
||||||
#define ZEND_EXECUTE_H
|
#define ZEND_EXECUTE_H
|
||||||
|
|
||||||
#include "zend_compile.h" // for zend_op_array
|
#include "zend_compile.h" // for zend_op_array
|
||||||
|
#include "zend_globals.h" // for struct _zend_executor_globals
|
||||||
|
#include "zend_globals_macros.h" // for EG()
|
||||||
#include "zend_list.h" // for zend_rsrc_list_get_rsrc_type()
|
#include "zend_list.h" // for zend_rsrc_list_get_rsrc_type()
|
||||||
#include "zend_portability.h" // for BEGIN_EXTERN_C
|
#include "zend_portability.h" // for BEGIN_EXTERN_C
|
||||||
#include "zend_types.h" // for zend_execute_data
|
#include "zend_types.h" // for zend_execute_data
|
||||||
|
|
||||||
#if ZEND_DEBUG
|
|
||||||
#include "zend_globals.h" // for struct _zend_executor_globals
|
|
||||||
#include "zend_globals_macros.h" // for EG()
|
|
||||||
#endif
|
|
||||||
|
|
||||||
BEGIN_EXTERN_C()
|
BEGIN_EXTERN_C()
|
||||||
struct _zend_fcall_info;
|
struct _zend_fcall_info;
|
||||||
ZEND_API extern void (*zend_execute_ex)(zend_execute_data *execute_data);
|
ZEND_API extern void (*zend_execute_ex)(zend_execute_data *execute_data);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue