Skip to content

Commit 380af9a

Browse files
author
Andi Gutmans
committed
- Avoid breaking op_array compatibility for 4.0.6
1 parent 28da411 commit 380af9a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Zend/zend_compile.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,11 @@
3535

3636
#define DEBUG_ZEND 0
3737

38-
#define SUPPORT_INTERACTIVE 1
38+
#ifndef ZTS
39+
# define SUPPORT_INTERACTIVE 1
40+
#else
41+
# define SUPPORT_INTERACTIVE 0
42+
#endif
3943

4044
#define FREE_PNODE(znode) zval_dtor(&znode->u.constant);
4145
#define FREE_OP(op, should_free) if (should_free) zval_dtor(&Ts[(op)->u.var].tmp_var);

0 commit comments

Comments
 (0)