Browse Source

refactor: fix build for pre 5.2

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@996 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 9 years ago
parent
commit
902fdb401e
  1. 2
      xcache/xc_utils.c
  2. 4
      xcache/xc_utils.h

2
xcache/xc_utils.c

@ -395,7 +395,7 @@ int xc_foreach_early_binding_class(zend_op_array *op_array, void (*callback)(zen
}
/* }}} */
#ifndef ZEND_COMPILE_DELAYED_BINDING
static int xc_do_early_binding(zend_op_array *op_array, HashTable *class_table, int oplineno TSRMLS_DC) /* {{{ */
int xc_do_early_binding(zend_op_array *op_array, HashTable *class_table, int oplineno TSRMLS_DC) /* {{{ */
{
zend_op *opline;

4
xcache/xc_utils.h

@ -45,3 +45,7 @@ void xc_zend_constant_ctor(zend_constant *c);
void xc_zend_constant_dtor(zend_constant *c);
void xc_copy_internal_zend_constants(HashTable *target, HashTable *source);
#endif
#ifndef ZEND_COMPILE_DELAYED_BINDING
int xc_do_early_binding(zend_op_array *op_array, HashTable *class_table, int oplineno TSRMLS_DC);
#endif

Loading…
Cancel
Save