From 1ec24e1d46567dd12933e7b62215ed37f0dc4e4f Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Tue, 21 Sep 2010 21:06:16 +0000 Subject: [PATCH] Remove possibility of having multiple definitions of DEBUG in uip_arp.c. --- Demo/Common/ethernet/FreeTCPIP/uip_arp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Demo/Common/ethernet/FreeTCPIP/uip_arp.c b/Demo/Common/ethernet/FreeTCPIP/uip_arp.c index 4f4b06fe94..ab84419c67 100644 --- a/Demo/Common/ethernet/FreeTCPIP/uip_arp.c +++ b/Demo/Common/ethernet/FreeTCPIP/uip_arp.c @@ -115,6 +115,10 @@ static u8_t tmpage; #define BUF ( ( struct arp_hdr * ) &uip_buf[0] ) #define IPBUF ( ( struct ethip_hdr * ) &uip_buf[0] ) + +#ifdef DEBUG + #undef DEBUG +#endif #define DEBUG 0 #if DEBUG #include