local fork (temporary)

Dependents:   VodafoneUSBModem_bleedingedge2

Fork of lwip-sys by mbed official

Revision:
3:e640ea98ada0
Parent:
2:75ce99217072
Child:
4:dd37867293e7
--- a/arch/cc.h	Fri Jun 22 15:16:26 2012 +0000
+++ b/arch/cc.h	Tue Jul 03 13:43:17 2012 +0000
@@ -86,7 +86,7 @@
 /* Used with IP headers only */
 #define LWIP_CHKSUM_ALGORITHM 1
 
-#ifdef LWIP_DEBUG 
+#if LWIP_DEBUG 
 
 #include "stdio.h"
 
@@ -100,4 +100,8 @@
 #define LWIP_PLATFORM_ASSERT(flag) { while (1); }
 #endif 
 
+#include "cmsis.h"
+#define LWIP_PLATFORM_HTONS(x)      __REV16(x)
+#define LWIP_PLATFORM_HTONL(x)      __REV(x)
+
 #endif /* __CC_H__ */