Changeset 1561 in svn for trunk/xcache/xc_compatibility.h


Ignore:
Timestamp:
2014-11-10T11:07:01Z (5 years ago)
Author:
Xuefer
Message:

fix build for older PHP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache/xc_compatibility.h

    r1525 r1561  
    283283#endif
    284284
     285#if defined(ZEND_ENGINE_2) && !defined(ZEND_ENGINE_2_2)
     286void *xc_object_store_get_object_by_handle(zend_object_handle handle TSRMLS_DC);
     287#   define zend_object_store_get_object_by_handle xc_object_store_get_object_by_handle
     288
     289void xc_objects_store_add_ref_by_handle(zend_object_handle handle TSRMLS_DC);
     290#   define zend_objects_store_add_ref_by_handle xc_objects_store_add_ref_by_handle
     291
     292void xc_objects_store_del_ref_by_handle(zend_object_handle handle TSRMLS_DC);
     293#   define zend_objects_store_del_ref_by_handle xc_objects_store_del_ref_by_handle
     294#endif
     295
    285296#endif /* XC_COMPATIBILITY_H_54F26ED90198353558718191D5EE244C */
Note: See TracChangeset for help on using the changeset viewer.