Upgraded lwIP to 2.0.2-STABLE

This commit is contained in:
Joseph Henry
2017-09-14 13:20:49 -07:00
parent cc468fe8fe
commit 709fc40483
309 changed files with 120411 additions and 96057 deletions

View File

@@ -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)