Ignore:
Timestamp:
Nov 30, 2001, 8:02:33 PM (24 years ago)
Author:
sandervl
Message:

removed TRACE/WARN macro redefinition

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/shell32/shelllink.c

    r7502 r7508  
    3030#include <winuser32.h>
    3131#include <winres.h>
    32 
    33 #undef WARN
    34 #undef TRACE
    35 #ifdef DEBUG
    36 // PH 2001-11-30
    37 // this macro definition causes the control leave the scope of a
    38 // non-curly-braced preceeding if statement. Therefore,
    39 //   if (p!=NULL)
    40 //      TRACE("p->a=%d", p->a)
    41 // crashes.
    42 //
    43 // !!! ENSURE TRACES AND FIXMES WITH PRECEEDING IF STATEMENT
    44 // !!! ARE PUT INTO CURLY BRACES
    45 #define TRACE WriteLog("SHELL32: %s", __FUNCTION__); WriteLog
    46 #define WARN WriteLog("WARNING: SHELL32: %s", __FUNCTION__); WriteLog
    47 #else
    48 #define TRACE 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
    49 #define WARN 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
    50 #endif
    51 
    5232#else
    5333#include "bitmaps/wine.xpm"
Note: See TracChangeset for help on using the changeset viewer.