Changeset 31

Show
Ignore:
Timestamp:
12/23/04 20:54:08 (4 years ago)
Author:
everaldo_canuto
Message:

Fixed compilation errors under Win32 and old versions of gcc.

Files:

Legend:

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

    r30 r31  
    22 
    33        * COPYING license file fixed. 
     4        * Fixed compilation errors under Win32 and old versions of gcc. 
    45 
    562004-12-22 ReinerJ <reinerj at users.sourceforge.net> 
  • eaccelerator/trunk/eaccelerator.c

    r24 r31  
    23772377  zend_function* function; 
    23782378 
     2379#ifdef ZEND_ENGINE_2 
     2380  int    fname_len; 
     2381  char  *fname_lc; 
     2382#endif 
     2383 
    23792384#ifdef DEBUG 
    23802385  pad(TSRMLS_C); 
     
    24412446 
    24422447#ifdef ZEND_ENGINE_2 
    2443    
    2444   int    fname_len; 
    2445   char  *fname_lc; 
    24462448 
    24472449  if (to->function_name) 
     
    27162718  int   fname_len; 
    27172719  char *fname_lc; 
     2720#ifdef ZEND_ENGINE_2 
     2721  int   cname_len; 
     2722  char *cname_lc; 
     2723  Bucket *p; 
     2724#endif 
    27182725 
    27192726#ifdef DEBUG 
     
    28742881 
    28752882#ifdef ZEND_ENGINE_2 
    2876   int   cname_len = to->name_length; 
    2877   char *cname_lc  = zend_str_tolower_dup(to->name, cname_len); 
    2878  
    2879   Bucket *p = to->function_table.pListHead; 
     2883  cname_len = to->name_length; 
     2884  cname_lc  = zend_str_tolower_dup(to->name, cname_len); 
     2885 
     2886  p = to->function_table.pListHead; 
    28802887  while (p != NULL) { 
    28812888    f         = p->pData;