Browse Source

debug.h: fixed LWIP_PLATFORM_ERROR macro if LWIP_DEBUG and LWIP_NOASSERT are defined

STABLE-2_1_x
Sylvain Rochet 11 years ago
parent
commit
acbdf63a48
  1. 2
      src/include/lwip/debug.h

2
src/include/lwip/debug.h

@ -81,7 +81,7 @@
#ifndef LWIP_NOASSERT
#define LWIP_PLATFORM_ERROR(message) LWIP_PLATFORM_ASSERT(message)
#elif defined LWIP_DEBUG
#define LWIP_PLATFORM_ERROR(message) LWIP_PLATFORM_DIAG(message)
#define LWIP_PLATFORM_ERROR(message) LWIP_PLATFORM_DIAG((message))
#else
#define LWIP_PLATFORM_ERROR(message)
#endif

Loading…
Cancel
Save