goldendict-ng/dprintf.hh

11 lines
198 B
C++
Raw Normal View History

#ifndef __DPRINTF_HH_INCLUDED__
#define __DPRINTF_HH_INCLUDED__
#ifdef NO_CONSOLE
#define DPRINTF(...)
#else
#define DPRINTF(...) { printf(__VA_ARGS__); }
#endif
#endif // __DPRINTF_HH_INCLUDED__