This repository has been archived on 2021-11-25. You can view files and clone it, but cannot push or open issues/pull-requests.
|
#include "log.h"
|
|
#include <cstdarg>
|
|
#include <cstdio>
|
|
using namespace std;
|
|
|
|
#ifdef DEBUG
|
|
void dprintf(const char* fmt,...)
|
|
{
|
|
va_list ap;
|
|
va_start(ap,fmt);
|
|
vprintf(fmt,ap);
|
|
va_end(ap);
|
|
}
|
|
#else
|
|
void dprintf(const char* fmt,...)
|
|
{
|
|
|
|
}
|
|
#endif
|