mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-18 07:24:07 +00:00
13 lines
258 B
C++
13 lines
258 B
C++
#ifndef __DPRINTF_HH_INCLUDED__
|
|
#define __DPRINTF_HH_INCLUDED__
|
|
|
|
#ifdef NO_CONSOLE
|
|
#define DPRINTF(...)
|
|
#define FDPRINTF(...)
|
|
#else
|
|
#define DPRINTF(...) printf(__VA_ARGS__)
|
|
#define FDPRINTF(...) fprintf(__VA_ARGS__)
|
|
#endif
|
|
|
|
#endif // __DPRINTF_HH_INCLUDED__
|