]> Joshua Wise's Git repositories - netwatch.git/commitdiff
Merge nyus.joshuawise.com:/storage/git/netwatch
authorJoshua Wise <joshua@rebirth.joshuawise.com>
Mon, 10 Nov 2008 19:10:58 +0000 (14:10 -0500)
committerJoshua Wise <joshua@rebirth.joshuawise.com>
Mon, 10 Nov 2008 19:10:58 +0000 (14:10 -0500)
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.028324 seconds and 4 git commands to generate.