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/comctl32/imagelist.c

    r7502 r7508  
    3535DEFAULT_DEBUG_CHANNEL(imagelist);
    3636
    37 
    38 #ifdef __WIN32OS2__
    39 #undef FIXME
    40 #undef TRACE
    41 #ifdef DEBUG
    42 // PH 2001-11-30
    43 // this macro definition causes the control leave the scope of a
    44 // non-curly-braced preceeding if statement. Therefore,
    45 //   if (p!=NULL)
    46 //      TRACE("p->a=%d", p->a)
    47 // crashes.
    48 //
    49 // !!! ENSURE TRACES AND FIXMES WITH PRECEEDING IF STATEMENT
    50 // !!! ARE PUT INTO CURLY BRACES
    51 #define TRACE WriteLog("COMCTL32: %s", __FUNCTION__); WriteLog
    52 #define FIXME WriteLog("FIXME COMCTL32: %s", __FUNCTION__); WriteLog
    53 #else
    54 #define TRACE 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
    55 #define FIXME 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
    56 #endif
    57 #endif
    5837
    5938#define _MAX(a,b) (((a)>(b))?(a):(b))
Note: See TracChangeset for help on using the changeset viewer.