]> Joshua Wise's Git repositories - netwatch.git/blobdiff - lwip/src/include/arch/cc.h
That is almost certainly all the cause of my woe.
[netwatch.git] / lwip / src / include / arch / cc.h
index 52adcb548dbab042628d6e937c8aa35e06001f03..7878080fb64577bc2b6eabb743984c88f843d869 100644 (file)
@@ -2,6 +2,8 @@
 #define _ARCH_CC_H
 
 #include <stdint.h>
+#include <vga-overlay.h>
+#include <output.h>
 #include <minilib.h>
 
 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
This page took 0.020606 seconds and 4 git commands to generate.