openldap/contrib/gtk-tool/utils.cc

14 lines
206 B
C++
Raw Normal View History

1998-12-02 23:15:49 +08:00
#include <stdio.h>
#include <stdarg.h>
int debug(const char *format,...) {
#ifdef DEBUG
va_list args;
int ret;
va_start(args, format);
ret = vprintf(format, args);
va_end(args);
return ret;
#endif
}