Changeset 669 for trunk/xcache.c

Show
Ignore:
Timestamp:
08/07/2009 04:31:12 AM (4 years ago)
Author:
moo
Message:

use XCACHE_ERROR_CACHING macro to simplify ifdefs

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r662 r669  
    756756    } 
    757757#endif 
    758 #ifdef E_STRICT 
     758#ifdef XCACHE_ERROR_CACHING 
    759759    /* restore trigger errors */ 
    760760    for (i = 0; i < p->compilererror_cnt; i ++) { 
     
    15361536#undef X_FREE_UNUSED 
    15371537    /* }}} */ 
    1538 #ifdef E_STRICT 
     1538#ifdef XCACHE_ERROR_CACHING 
    15391539    php->compilererrors = ((xc_sandbox_t *) XG(sandbox))->compilererrors; 
    15401540    php->compilererror_cnt = ((xc_sandbox_t *) XG(sandbox))->compilererror_cnt;