Show
Ignore:
Timestamp:
08/17/2008 02:51:22 PM (5 months ago)
Author:
moo
Message:

do not call php6 api for older php

Files:
1 modified

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 {