do not undefine USE_DEBUG in header file; allow CFLAGS specification; from

Stas Bekman


svn:r191
This commit is contained in:
Niels Provos 2005-12-17 20:18:10 +00:00
parent 139e862e32
commit 686dede71b
2 changed files with 7 additions and 1 deletions

6
README
View File

@ -12,6 +12,10 @@ $ make verify
Before, reporting any problems, please run the regression tests.
To enable the low-level tracing build the library as:
CFLAGS=-DUSE_DEBUG ./configure [...]
Acknowledgements:
-----------------
@ -25,5 +29,7 @@ fixing bugs:
William Ahern
Alexander von Gernler
Artur Grabowski
Stas Bekman
Tassilo von Parseval
If I have forgotten your name, please contact me.

2
log.h
View File

@ -33,7 +33,7 @@ void event_errx(int eval, const char *fmt, ...);
void event_warnx(const char *fmt, ...);
void event_msgx(const char *fmt, ...);
void _event_debugx(const char *fmt, ...);
#undef USE_DEBUG
#ifdef USE_DEBUG
#define event_debug(x) _event_debugx x
#else