mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
do not undefine USE_DEBUG in header file; allow CFLAGS specification; from
Stas Bekman svn:r191
This commit is contained in:
parent
139e862e32
commit
686dede71b
6
README
6
README
@ -12,6 +12,10 @@ $ make verify
|
|||||||
|
|
||||||
Before, reporting any problems, please run the regression tests.
|
Before, reporting any problems, please run the regression tests.
|
||||||
|
|
||||||
|
To enable the low-level tracing build the library as:
|
||||||
|
|
||||||
|
CFLAGS=-DUSE_DEBUG ./configure [...]
|
||||||
|
|
||||||
Acknowledgements:
|
Acknowledgements:
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
@ -25,5 +29,7 @@ fixing bugs:
|
|||||||
William Ahern
|
William Ahern
|
||||||
Alexander von Gernler
|
Alexander von Gernler
|
||||||
Artur Grabowski
|
Artur Grabowski
|
||||||
|
Stas Bekman
|
||||||
|
Tassilo von Parseval
|
||||||
|
|
||||||
If I have forgotten your name, please contact me.
|
If I have forgotten your name, please contact me.
|
||||||
|
2
log.h
2
log.h
@ -33,7 +33,7 @@ void event_errx(int eval, const char *fmt, ...);
|
|||||||
void event_warnx(const char *fmt, ...);
|
void event_warnx(const char *fmt, ...);
|
||||||
void event_msgx(const char *fmt, ...);
|
void event_msgx(const char *fmt, ...);
|
||||||
void _event_debugx(const char *fmt, ...);
|
void _event_debugx(const char *fmt, ...);
|
||||||
#undef USE_DEBUG
|
|
||||||
#ifdef USE_DEBUG
|
#ifdef USE_DEBUG
|
||||||
#define event_debug(x) _event_debugx x
|
#define event_debug(x) _event_debugx x
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user