Changeset 9579c77 in git for optimizer.c


Ignore:
Timestamp:
2012-03-26T10:46:53Z (8 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
bfb351b
Parents:
e5943a1
Message:

fix build for <=PHP_5_2, optimize dirname call

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@847 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • optimizer.c

    r1dc5c4a r9579c77  
    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.