Changeset 798 for trunk/xcache.c


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

fix build: ISREF undefined in <=PHP_5_2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r781 r798  
    28842884    } 
    28852885 
    2886     RETURN_LONG(Z_REFCOUNT_P(variable)); 
     2886    RETURN_LONG(Z_REFCOUNT(*variable)); 
    28872887} 
    28882888/* }}} */ 
     
    29002900    } 
    29012901 
    2902     RETURN_BOOL(Z_ISREF_P(variable) && Z_REFCOUNT_P(variable) >= 3); 
     2902    RETURN_BOOL(Z_ISREF(*variable) && Z_REFCOUNT(*variable) >= 3); 
    29032903} 
    29042904/* }}} */ 
Note: See TracChangeset for help on using the changeset viewer.