Changeset 69c693d in git


Ignore:
Timestamp:
2008-08-17T14:51:22Z (12 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
f39afa9
Parents:
ec824ae
Message:

do not call php6 api for older php

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • processor/main.m4

    rb36dbed r69c693d  
    111111        IFSTORE(`$1 = (zend_class_entry *) xc_get_class_num(processor, $2);')
    112112        IFRESTORE(`$1 = xc_get_class(processor, (zend_ulong) $2);')
     113#ifdef IS_UNICODE
    113114        IFDASM(`add_assoc_unicodel_ex(dst, ZEND_STRS("$3"), ZSTR_U($2->name), $2->name_length, 1);')
     115#else
     116        IFDASM(`add_assoc_stringl_ex(dst, ZEND_STRS("$3"), $2->name, $2->name_length, 1);')
     117#endif
    114118    }
    115119    else {
Note: See TracChangeset for help on using the changeset viewer.