Fixed bug #28529: macro LWIP_DEBUG_TIMERNAMES in timers.h

This commit is contained in:
goldsimon 2010-01-09 19:14:23 +00:00
parent 32833bcd56
commit 27c9670718

View File

@ -43,7 +43,10 @@ extern "C" {
#endif
#ifndef LWIP_DEBUG_TIMERNAMES
#define LWIP_DEBUG_TIMERNAMES (LWIP_DEBUG && SYS_DEBUG)
#ifdef LWIP_DEBUG
#define LWIP_DEBUG_TIMERNAMES SYS_DEBUG
#else
#define LWIP_DEBUG_TIMERNAMES 0
#endif
typedef void (* sys_timeout_handler)(void *arg);