EthernetNetIf Compatibility.
Dependents: XBeeWiFi_SPI_example
Fork of NetServicesSource by
Diff: lwip/arch/cc.h
- Revision:
- 5:dd63a1e02b1b
- Parent:
- 0:632c9925f013
diff -r fd826cad83c0 -r dd63a1e02b1b lwip/arch/cc.h --- a/lwip/arch/cc.h Fri Jul 09 14:46:47 2010 +0000 +++ b/lwip/arch/cc.h Tue Jul 27 15:59:42 2010 +0000 @@ -29,9 +29,8 @@ #define FALSE 0 #endif -#ifndef DBG -//#error -#endif +#include <stdlib.h> +#define LWIP_RAND rand #define LWIP_PLATFORM_DIAG(x) DBG x #define LWIP_PLATFORM_ASSERT(x) DBG(x) @@ -57,5 +56,7 @@ #define PACK_STRUCT_BEGIN __packed #define PACK_STRUCT_END +#define LWIP_CHKSUM_ALGORITHM 3 + #endif /* __LWIP_ARCH_CC_H__ */