]> git.sur5r.net Git - openldap/blob - contrib/gtk-tool/utils.cc
Fix dynamic linking dependencies for NT and Unix
[openldap] / contrib / gtk-tool / utils.cc
1 #include <stdio.h>
2 #include <stdarg.h>
3
4 extern int debug_level;
5
6 int debug(const char *format,...) {
7         if (debug_level > 0) {
8 //#ifdef DEBUG
9                 va_list args;
10                 int ret;
11                 va_start(args, format);
12                 ret = vprintf(format, args);
13                 va_end(args);
14                 return ret;
15 //#endif
16         }
17 }