Changeset 847 in svn for trunk/optimizer.c


Ignore:
Timestamp:
2012-03-26T12:46:53+02:00 (3 years ago)
Author:
Xuefer
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.