mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
11 lines
198 B
C++
11 lines
198 B
C++
#ifndef __DPRINTF_HH_INCLUDED__
|
|
#define __DPRINTF_HH_INCLUDED__
|
|
|
|
#ifdef NO_CONSOLE
|
|
#define DPRINTF(...)
|
|
#else
|
|
#define DPRINTF(...) { printf(__VA_ARGS__); }
|
|
#endif
|
|
|
|
#endif // __DPRINTF_HH_INCLUDED__
|