Changeset 80634fd in git


Ignore:
Timestamp:
2009-08-07T02:26:35Z (11 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
86ca810
Parents:
7a6edb7
Message:

make #ifdef's looks better for E_DEPRECATED

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@668 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • utils.c

    r4bec45f r80634fd  
    530530#define OG(x) (sandbox->orig_##x)
    531531/* }}} */
    532 #ifdef E_STRICT
     532#if defined(E_STRICT) || defined(E_DEPRECATED)
    533533static void xc_sandbox_error_cb(int type, const char *error_filename, const uint error_lineno, const char *format, va_list args) /* {{{ */
    534534{
     
    540540    assert(sandbox != NULL);
    541541    switch (type) {
     542#ifdef E_STRICT:
    542543    case E_STRICT:
     544#endif
    543545#ifdef E_DEPRECATED
    544546    case E_DEPRECATED:
  • utils.h

    r38569c5 r80634fd  
    9898    Bucket    *tmp_internal_class_tail;
    9999
    100 #ifdef E_STRICT
     100#if defined(E_STRICT) || defined(E_DEPRECATED)
    101101    int orig_user_error_handler_error_reporting;
    102102    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.