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

removed TRACE/WARN macro redefinition

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/msvfw32/msvideo_main.c

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