Show
Ignore:
Timestamp:
07/25/06 14:56:22 (2 years ago)
Author:
bart
Message:

Fix loader.c too so we don't get any linking errors.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • eaccelerator/trunk/ChangeLog

    r241 r242  
    44          from disk cache. This fixes bug #147 
    55        * Some update in the release notes for the upcoming rc1 
     6        * Fix loader.c too so we don't get any linking errors.  
    67 
    782006-07-24  Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 
  • eaccelerator/trunk/loader.c

    r203 r242  
    3838#include "ea_restore.h" 
    3939#include <math.h> 
     40#ifdef ZEND_ENGINE_2_1 
     41#include "zend_vm.h" 
     42#endif 
    4043 
    4144#ifdef HAVE_EACCELERATOR_STANDALONE_LOADER 
     
    397400static void decode_op(zend_op_array *to, zend_op *opline, unsigned int ops,  
    398401        char **p, unsigned int* l TSRMLS_DC) { 
    399 #ifdef ZEND_ENGINE_2 
    400 #ifdef HAVE_EACCELERATOR_STANDALONE_LOADER 
     402#ifdef ZEND_ENGINE_2_1 
     403        ZEND_VM_SET_OPCODE_HANDLER(opline); 
     404#elif defined(ZEND_ENGINE_2) 
    401405    opline->handler = zend_opcode_handlers[opline->opcode]; 
    402 #else 
    403     opline->handler = get_opcode_handler(opline->opcode TSRMLS_CC); 
    404 #endif 
    405406#endif 
    406407    opline->lineno = decode32(p, l);