2000-10-15 Jochen Eisinger <jochen.eisinger@gmx.net>

* include/sane/sanei_debug.h: sanei_debug_init was only declared
	  if VARARG macros are supported. Fixed this.
DEVEL_2_0_BRANCH-1
Jochen Eisinger 2000-10-15 14:54:53 +00:00
rodzic 5420a147d5
commit c6694e75ba
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -45,11 +45,12 @@ extern void sanei_debug_max (int level, int max_level, const char *msg, ...);
"[" STRINGIFY(BACKEND_NAME) "] " msg, ##args); \
} while (0)
extern void sanei_init_debug (const char * backend, int * debug_level_var);
#else
# define DBG sanei_debug
#endif /* HAVE_VARARG_MACROS */
extern void sanei_init_debug (const char * backend, int * debug_level_var);
# define IF_DBG(x) x
#endif /* NDEBUG */