From 4f1515ab09f335d3b52c8dde82dfa32f4336454f Mon Sep 17 00:00:00 2001 From: Carsten Schoenert Date: Sun, 13 Dec 2015 13:40:13 +0100 Subject: [PATCH] Contiki: undefine COAP_MAX_BLOCK_SZX before redefine COAP_MAX_BLOCK_SZX is defined to "2" already before a define rule for CONTIKI_TARGET_CC2538DK, just add a simply undefine line before the redefine of COAP_MAX_BLOCK_SZX to make the compiler happy. --- coap_config.h.contiki | 1 + 1 file changed, 1 insertion(+) diff --git a/coap_config.h.contiki b/coap_config.h.contiki index 16f5e1b8..43bef3a4 100644 --- a/coap_config.h.contiki +++ b/coap_config.h.contiki @@ -106,6 +106,7 @@ typedef void FILE; #undef COAP_MAX_PDU_SIZE #define COAP_MAX_PDU_SIZE 100 +#undef COAP_MAX_BLOCK_SZX #define COAP_MAX_BLOCK_SZX 2 #define HAVE_LIMITS_H 1