#include "log.h" #include #include 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