Show
Ignore:
Timestamp:
11/29/05 18:19:18 (3 years ago)
Author:
zoeloelip
Message:

* Disabled the cache dir check, to much people complaining
* fixed eLoader

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • eaccelerator/trunk/eaccelerator.h

    r124 r140  
    167167#define MAX_DUP_STR_LEN 256 
    168168 
     169/******************************************************************************/ 
     170 
     171#endif /* HAVE_EACCELERATOR_STANDALONE_LOADER */ 
     172 
    169173#ifndef offsetof 
    170174#  define offsetof(str,fld) ((size_t)&(((str*)NULL)->fld)) 
    171175#endif 
    172  
    173 /******************************************************************************/ 
    174176 
    175177typedef struct _eaccelerator_op_array { 
     
    255257        char htabkey[1];                        /* must be last element */ 
    256258} mm_fc_entry; 
     259 
     260#ifndef HAVE_EACCELERATOR_STANDALONE_LOADER 
    257261 
    258262/* 
     
    382386int eaccelerator_md5 (char *s, const char *prefix, const char *key TSRMLS_DC); 
    383387 
    384 void restore_zval (zval * TSRMLS_DC); 
    385388void calc_zval (zval * z TSRMLS_DC); 
    386389void store_zval (zval * z TSRMLS_DC); 
    387390void fixup_zval (zval * z TSRMLS_DC); 
     391void restore_zval (zval * TSRMLS_DC); 
    388392 
    389393unsigned int hash_mm(const char *data, int len);  
    390  
    391 #  ifdef WITH_EACCELERATOR_EXECUTOR 
    392 ZEND_DLEXPORT void eaccelerator_execute (zend_op_array * op_array TSRMLS_DC); 
    393 #  endif 
    394394 
    395395#  ifdef WITH_EACCELERATOR_OPTIMIZER 
     
    400400PHP_FUNCTION (eaccelerator_encode); 
    401401#endif 
    402 #endif /* HAVE_EACCELERATOR_LOADER_STANDALONE */ 
     402#endif /* HAVE_EACCELERATOR_STANDALONE_LOADER */ 
    403403 
    404404#ifdef ZTS 
     
    407407#  define EAG(v) (eaccelerator_globals.v) 
    408408#endif 
    409  
    410 #define MMCG(v) EAG(v) 
    411409 
    412410/*