]> Joshua Wise's Git repositories - netwatch.git/blobdiff - lwip/src/include/arch/cc.h
Add httpd.
[netwatch.git] / lwip / src / include / arch / cc.h
index 52adcb548dbab042628d6e937c8aa35e06001f03..df50e8d0b5640bf779e12d4bbbf82b4096ed85a5 100644 (file)
@@ -2,6 +2,7 @@
 #define _ARCH_CC_H
 
 #include <stdint.h>
+#include <vga-overlay.h>
 #include <minilib.h>
 
 typedef uint8_t u8_t;
@@ -27,8 +28,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) dolog(x)
+#define LWIP_PLATFORM_ASSERT(x) dologf("ASSERT FAILED: %s\n", (x));
 
 #endif
This page took 0.020257 seconds and 4 git commands to generate.