Upgraded lwIP to 2.0.2-STABLE
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
#include <string.h>
|
||||
#include <sys/time.h>
|
||||
#include <limits.h>
|
||||
#include <errno.h>
|
||||
|
||||
#define LWIP_TIMEVAL_PRIVATE 0
|
||||
|
||||
@@ -81,7 +82,8 @@ typedef unsigned long mem_ptr_t;
|
||||
#include <stdlib.h>
|
||||
/* Plaform specific diagnostic output */
|
||||
//#define LWIP_PLATFORM_DIAG(x) do {printf x;} while(0)
|
||||
#define LWIP_PLATFORM_DIAG(x) printf(x);
|
||||
#include "Debug.hpp"
|
||||
#define LWIP_PLATFORM_DIAG(x) DEBUG_STACK(x);
|
||||
|
||||
#define LWIP_PLATFORM_ASSERT(x) do {printf("Assertion \"%s\" failed at line %d in %s\n", \
|
||||
x, __LINE__, __FILE__); fflush(NULL); abort();} while(0)
|
||||
|
||||
Reference in New Issue
Block a user