Ignore:
Timestamp:
2006-05-24T09:52:48+02:00 (8 years ago)
Author:
moo
Message:

make it build on windows vc compiler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/processor.m4

    r4 r11  
    365365    DISPATCH(int, op_type) 
    366366 
     367#ifdef IS_CV 
     368#   define XCACHE_IS_CV IS_CV 
     369#else 
     370/* compatible with zend optimizer */ 
     371#   define XCACHE_IS_CV 16 
     372#endif 
    367373    assert(src->op_type == IS_CONST || 
    368374        src->op_type == IS_VAR || 
    369 #ifdef IS_CV 
    370         src->op_type == IS_CV || 
    371 #else 
    372         src->op_type == 16 || /* zend optimizer */ 
    373 #endif 
     375        src->op_type == XCACHE_IS_CV || 
    374376        src->op_type == IS_TMP_VAR || 
    375377        src->op_type == IS_UNUSED); 
     378#undef XCACHE_IS_CV 
    376379    dnl dirty dispatch 
    377380    DISABLECHECK(` 
     
    463466    do { 
    464467    dnl RESTORE is done above! 
     468    zend_uint ii; 
    465469    int i; 
    466470 
     
    481485    /* useless */ 
    482486    COPY(prototype) 
    483     STRUCT_ARRAY(num_args, zend_arg_info, arg_info) 
     487    STRUCT_ARRAY_I(num_args, zend_arg_info, arg_info) 
    484488    DISPATCH(zend_uint, num_args) 
    485489    DISPATCH(zend_uint, required_num_args) 
     
    490494        IFCOPY(`memcpy(dst->arg_types, src->arg_types, sizeof(src->arg_types[0]) * (src->arg_types[0]+1));') 
    491495        IFDASM(`do { 
     496            zend_uint ii; 
    492497            int i; 
    493498            zval *zv; 
     
    528533        processor->active_opcodes_src = src->opcodes; 
    529534    ')') 
    530     STRUCT_ARRAY(last, zend_op, opcodes) 
     535    STRUCT_ARRAY_I(last, zend_op, opcodes) 
    531536    popdef(`AFTER_ALLOC') 
    532537    DISPATCH(zend_uint, last) 
     
    546551    DISPATCH(zend_uint, T) 
    547552 
    548     STRUCT_ARRAY(last_brk_cont, zend_brk_cont_element, brk_cont_array) 
     553    STRUCT_ARRAY_I(last_brk_cont, zend_brk_cont_element, brk_cont_array) 
    549554    DISPATCH(zend_uint, last_brk_cont) 
    550555    DISPATCH(zend_uint, current_brk_cont) 
Note: See TracChangeset for help on using the changeset viewer.