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/oleobj.c

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