summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Bergmann <sebastian@php.net>2003-06-15 15:34:00 +0000
committerSebastian Bergmann <sebastian@php.net>2003-06-15 15:34:00 +0000
commit2c7ebe557f8b8437b6240c1fa323ef5d38cc22fb (patch)
tree26fb5fe4fcaedb853e36d46d418b1cfbfb983b64
parenteb33adf139f1af26a8c858400e3a996357fb5f18 (diff)
downloadphp-git-2c7ebe557f8b8437b6240c1fa323ef5d38cc22fb.tar.gz
Fix ZTS build.
-rw-r--r--Zend/zend_constants.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zend/zend_constants.c b/Zend/zend_constants.c
index 0b06a213a6..9902992cf2 100644
--- a/Zend/zend_constants.c
+++ b/Zend/zend_constants.c
@@ -21,6 +21,7 @@
#include "zend.h"
#include "zend_constants.h"
+#include "zend_execute.h"
#include "zend_variables.h"
#include "zend_operators.h"
#include "zend_globals.h"
@@ -225,7 +226,7 @@ ZEND_API int zend_get_constant(char *name, uint name_len, zval *result TSRMLS_DC
lookup_name = do_alloca(class_name_len+1);
zend_str_tolower_copy(lookup_name, name, class_name_len);
lookup_name[class_name_len] = '\0';
- if(zend_lookup_class(lookup_name, class_name_len, &ce) != SUCCESS) {
+ if(zend_lookup_class(lookup_name, class_name_len, &ce TSRMLS_CC) != SUCCESS) {
retval = 0;
} else {
if (zend_hash_find(&((*ce)->constants_table), constant_name, const_name_len+1, (void **) &ret_constant) != SUCCESS) {