Changeset 669 for trunk/utils.h


Ignore:
Timestamp:
2009-08-07T04:31:12+02:00 (5 years ago)
Author:
moo
Message:

use XCACHE_ERROR_CACHING macro to simplify ifdefs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/utils.h

    r668 r669  
    7474ZESW(xc_cest_t *, void) xc_install_class(char *filename, xc_cest_t *cest, int oplineno, zend_uchar type, zstr key, uint len, ulong h TSRMLS_DC); 
    7575 
     76#if defined(E_STRICT) || defined(E_DEPRECATED) 
     77#define XCACHE_ERROR_CACHING 
     78#endif 
     79 
    7680/* sandbox */ 
    7781typedef struct { 
     
    98102    Bucket    *tmp_internal_class_tail; 
    99103 
    100 #if defined(E_STRICT) || defined(E_DEPRECATED) 
     104#ifdef XCACHE_ERROR_CACHING 
    101105    int orig_user_error_handler_error_reporting; 
    102106    void (*orig_zend_error_cb)(int type, const char *error_filename, const uint error_lineno, const char *format, va_list args); 
Note: See TracChangeset for help on using the changeset viewer.