Changeset 798 in svn for trunk/xcache.h


Ignore:
Timestamp:
2011-04-26T10:05:18+02:00 (4 years ago)
Author:
Xuefer
Message:

fix build: ISREF undefined in <=PHP_5_2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.h

    r770 r798  
    5454#   define ALLOCA_FLAG(x)
    5555#endif
     56#ifndef Z_ISREF
     57#   define Z_ISREF(z) (z).is_ref
     58#endif
    5659#ifndef Z_SET_ISREF
    5760#   define Z_SET_ISREF(z) (z).is_ref = 1
     
    5962#ifndef Z_UNSET_ISREF
    6063#   define Z_UNSET_ISREF(z) (z).is_ref = 0
     64#endif
     65#ifndef Z_REFCOUNT
     66#   define Z_REFCOUNT(z) (z).refcount
    6167#endif
    6268#ifndef Z_SET_REFCOUNT
Note: See TracChangeset for help on using the changeset viewer.