X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/6e6d4a8b902639de18da98519a2141ea22432700..77671f96efe9904af681de78c96e305e4e0f3abe:/lwip/src/include/arch/cc.h diff --git a/lwip/src/include/arch/cc.h b/lwip/src/include/arch/cc.h index 52adcb5..7878080 100644 --- a/lwip/src/include/arch/cc.h +++ b/lwip/src/include/arch/cc.h @@ -2,6 +2,8 @@ #define _ARCH_CC_H #include +#include +#include #include typedef uint8_t u8_t; @@ -27,8 +29,7 @@ typedef uint32_t mem_ptr_t; #define LWIP_PLATFORM_HTONS(x) htons(x) #define LWIP_PLATFORM_HTONL(x) htonl(x) -/* XXX fix this */ -#define LWIP_PLATFORM_DIAG(x) -#define LWIP_PLATFORM_ASSERT(x) +#define LWIP_PLATFORM_DIAG(x) outputf x +#define LWIP_PLATFORM_ASSERT(x) dologf("ASSERT FAILED: %s\n", (x)); #endif