Updated lwip.patch for Linux compatibility, CMakeLists.txt, and fixed other minor compile-time warnings

This commit is contained in:
Joseph Henry
2018-07-27 09:53:08 -07:00
parent 6fec662150
commit 6e086ed3fa
8 changed files with 91 additions and 68 deletions

View File

@@ -39,16 +39,14 @@
#ifndef __LWIPOPTS_H__
#define __LWIPOPTS_H__
//#define LWIP_SUPPORT_CUSTOM_PBUF 0
/*
* Provides its own errno
*/
#if __ANDROID__
#define LWIP_PROVIDE_ERRNO 0
#else
#define LWIP_PROVIDE_ERRNO 0
#elif !defined(_MSC_VER)
#define LWIP_PROVIDE_ERRNO 1
#endif
/*