summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2001-06-07 18:35:14 +0000
committerAndi Gutmans <andi@php.net>2001-06-07 18:35:14 +0000
commit380af9a911d4c31f14bdcc9054bbee6dde4520f9 (patch)
treea59a42b00cbfac0c4b638f6bb14d6ef0ac897b86
parent28da411d2318299ea8a4472b12a288c1fb0781bf (diff)
downloadphp-git-380af9a911d4c31f14bdcc9054bbee6dde4520f9.tar.gz
- Avoid breaking op_array compatibility for 4.0.6
-rw-r--r--Zend/zend_compile.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h
index be986f12cc..76c84bcbc1 100644
--- a/Zend/zend_compile.h
+++ b/Zend/zend_compile.h
@@ -35,7 +35,11 @@
#define DEBUG_ZEND 0
-#define SUPPORT_INTERACTIVE 1
+#ifndef ZTS
+# define SUPPORT_INTERACTIVE 1
+#else
+# define SUPPORT_INTERACTIVE 0
+#endif
#define FREE_PNODE(znode) zval_dtor(&znode->u.constant);
#define FREE_OP(op, should_free) if (should_free) zval_dtor(&Ts[(op)->u.var].tmp_var);