All pastes #773721 Raw Edit

Trace redefinition

public text v1 · immutable
·published 2007-11-14 19:06 UTC
rendered paste body
#ifdef TRACE
#undef TRACE
#endif


#define TRACE(str)\
	CString cstr;\
	cstr.Format(str);\
	CTracer::TraceMessage(cstr);\
*Err ->	TRACE(str);

#ifdef trace
#undef trace
#define trace(str)\
	TRACE(str)
#endif