[svn] / trunk / xvidcore / dshow / src / debug.h Repository:
ViewVC logotype

View of /trunk/xvidcore/dshow/src/debug.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1503 - (download) (annotate)
Sun Jul 18 02:00:05 2004 UTC (19 years, 8 months ago) by suxen_drol
File size: 379 byte(s)
gcc build environment
#ifndef _DSHOW_DEBUG_
#define _DSHOW_DEBUG_

#ifdef _DEBUG
#include <stdio.h>	/* vsprintf */
#define DPRINTF_BUF_SZ  1024
static __inline void
DPRINTF(char *fmt, ...)
{
	va_list args;
	char buf[DPRINTF_BUF_SZ];

	va_start(args, fmt);
	vsprintf(buf, fmt, args);
	OutputDebugString(buf);
}
#else
static __inline void 
DPRINTF(char *fmt, ...) { }
#endif


#endif /* _DSHOW_DEBUG */

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4