1
0
Fork 0

fix build for PHP<5.4

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1240 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.1
Xuefer 2013-05-16 06:24:41 +00:00
parent d6a26094d9
commit 3eb6e9b552
1 changed files with 5 additions and 1 deletions

View File

@ -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;