Changeset 125

Show
Ignore:
Timestamp:
07/11/05 19:51:01 (3 years ago)
Author:
zoeloelip
Message:

Some php4 compile fixes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • eaccelerator/trunk/ea_restore.c

    r124 r125  
    778778        } 
    779779 
    780         if (from->create_object != NULL) 
    781                 to->create_object = from->create_object; 
    782  
    783780        old = EAG(class_entry); 
    784781        EAG(class_entry) = to; 
  • eaccelerator/trunk/loader.c

    r124 r125  
    390390static void decode_op(zend_op_array *to, zend_op *opline, unsigned int ops,  
    391391        char **p, unsigned int* l TSRMLS_DC) { 
    392 #if defined(ZEND_ENGINE_2) && defined(HAVE_EACCELERATOR_STANDALONE_LOADER) 
     392#ifdef ZEND_ENGINE_2 
     393#ifdef HAVE_EACCELERATOR_STANDALONE_LOADER 
    393394    opline->handler = zend_opcode_handlers[opline->opcode]; 
    394395#else 
    395396    opline->handler = get_opcode_handler(opline->opcode TSRMLS_CC); 
     397#endif 
    396398#endif 
    397399    opline->lineno = decode32(p, l);