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


Ignore:
Timestamp:
2014-11-12T07:03:46Z (4 years ago)
Author:
Xuefer
Message:

support for reference value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache/xc_compatibility.h

    r1561 r1572  
    6868#ifndef Z_SET_REFCOUNT
    6969#   define Z_SET_REFCOUNT(z, rc) (z).refcount = rc
     70#endif
     71#ifndef Z_ADDREF
     72#   define Z_ADDREF(z) (z).refcount++
    7073#endif
    7174#ifndef IS_CONSTANT_TYPE_MASK
Note: See TracChangeset for help on using the changeset viewer.