Browse Source

fix build for PHP<5.4

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1240 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.1
Xuefer 9 years ago
parent
commit
3eb6e9b552
  1. 6
      processor/processor.m4

6
processor/processor.m4

@ -812,7 +812,11 @@ DEF_STRUCT_P_FUNC(`zend_op_array', , `dnl {{{
}
}
}
if (gc_arg_info || gc_opcodes || gc_literals) {
if (gc_arg_info || gc_opcodes
#ifdef ZEND_ENGINE_2_4
|| gc_literals
#endif
) {
xc_gc_op_array_t gc_op_array;
#ifdef ZEND_ENGINE_2
gc_op_array.num_args = gc_arg_info ? dst->num_args : 0;

Loading…
Cancel
Save