Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

- Don't support interactive mode when thread safe.

  • Loading branch information...
commit fcaf734f94c8d8e8aa887c9da9457bc427eb0770 1 parent e6257bc
@andigutmans andigutmans authored
Showing with 5 additions and 1 deletion.
  1. +0 −1  Zend/zend.c
  2. +5 −0 Zend/zend_compile.h
View
1  Zend/zend.c
@@ -227,7 +227,6 @@ int zend_startup(zend_utility_functions *utility_functions, char **extensions)
zend_compiler_globals *compiler_globals;
zend_executor_globals *executor_globals;
- tsrm_startup(1,1,0);
alloc_globals_id = ts_allocate_id(sizeof(zend_alloc_globals), alloc_globals_ctor, NULL);
#endif
View
5 Zend/zend_compile.h
@@ -28,7 +28,12 @@
#include "zend-parser.h"
#define DEBUG_ZEND 0
+
+#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);
Please sign in to comment.
Something went wrong with that request. Please try again.