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/ole32/bindctx.c

    r7502 r7508  
    1717#include "heap.h"
    1818
    19 #ifdef __WIN32OS2__
    20 #undef FIXME
    21 #undef TRACE
    22 #ifdef DEBUG
    23 // PH 2001-11-30
    24 // this macro definition causes the control leave the scope of a
    25 // non-curly-braced preceeding if statement. Therefore,
    26 //   if (p!=NULL)
    27 //      TRACE("p->a=%d", p->a)
    28 // crashes.
    29 //
    30 // !!! ENSURE TRACES AND FIXMES WITH PRECEEDING IF STATEMENT
    31 // !!! ARE PUT INTO CURLY BRACES
    32 #define TRACE WriteLog("OLE32: %s", __FUNCTION__); WriteLog
    33 #define FIXME WriteLog("FIXME OLE32: %s", __FUNCTION__); WriteLog
    34 #else
    35 #define TRACE 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
    36 #define FIXME 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
    37 #endif
    38 #endif
    3919
    4020DEFAULT_DEBUG_CHANNEL(ole);
Note: See TracChangeset for help on using the changeset viewer.