Changeset 508 in svn for trunk/xcache.c


Ignore:
Timestamp:
2008-01-05T10:17:02+01:00 (8 years ago)
Author:
Xuefer
Message:

PHP_4: fix build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r506 r508  
    14821482/* }}} */
    14831483
     1484#ifdef ZEND_ENGINE_2
    14841485/* {{{ xc_gc_op_array_t */
    14851486typedef struct {
     
    14931494    gc_op_array.num_args = op_array->num_args;
    14941495    gc_op_array.arg_info = op_array->arg_info;
     1496#ifdef ZEND_ENGINE_2
    14951497    zend_hash_next_index_insert(&XG(gc_op_arrays), (void *) &gc_op_array, sizeof(gc_op_array), NULL);
     1498#endif
    14961499}
    14971500/* }}} */
     
    15111514}
    15121515/* }}} */
     1516#endif
    15131517
    15141518/* module helper function */
     
    17441748    }
    17451749
     1750#ifdef ZEND_ENGINE_2
    17461751    zend_hash_init(&XG(gc_op_arrays), 32, NULL, xc_gc_op_array, 0);
     1752#endif
    17471753
    17481754#if PHP_API_VERSION <= 20041225
     
    17601766{
    17611767    xc_entry_unholds(TSRMLS_C);
     1768#ifdef ZEND_ENGINE_2
    17621769    zend_hash_destroy(&XG(gc_op_arrays));
     1770#endif
    17631771    xc_gc_expires_php(TSRMLS_C);
    17641772    xc_gc_expires_var(TSRMLS_C);
Note: See TracChangeset for help on using the changeset viewer.