Changeset 847 for trunk/optimizer.c


Ignore:
Timestamp:
2012-03-26T12:46:53+02:00 (3 years ago)
Author:
moo
Message:

fix build for <=PHP_5_2, optimize dirname call

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/optimizer.c

    r845 r847  
    105105                case ZEND_SWITCH_FREE: 
    106106                case ZEND_FREE: 
    107                     if (!(brk_opline->extended_value & EXT_TYPE_FREE_ON_RETURN)) { 
     107#ifdef EXT_TYPE_FREE_ON_RETURN 
     108                    if (!(brk_opline->extended_value & EXT_TYPE_FREE_ON_RETURN)) 
     109#endif 
     110                    { 
    108111                        can_convert = 0; 
    109112                    } 
Note: See TracChangeset for help on using the changeset viewer.