Changeset 569


Ignore:
Timestamp:
2008-08-17T16:51:22+02:00 (6 years ago)
Author:
moo
Message:

do not call php6 api for older php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/main.m4

    r504 r569  
    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.