From a0e2120fdb80d2db19a466c93ea80eb856aa7f1a Mon Sep 17 00:00:00 2001 From: Oliver Schmidt Date: Thu, 14 Mar 2013 23:17:59 +0100 Subject: [PATCH] Added configurations of the new resolver. --- cpu/6502/6502def.h | 6 +++++- platform/win32/contiki-conf.h | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/cpu/6502/6502def.h b/cpu/6502/6502def.h index e452ed7ea..e0adc70df 100644 --- a/cpu/6502/6502def.h +++ b/cpu/6502/6502def.h @@ -53,6 +53,8 @@ typedef int32_t s32_t; #define CC_CONF_REGISTER_ARGS 1 #define CC_CONF_FASTCALL __fastcall__ +#define ARCH_DOESNT_NEED_ALIGNED_STRUCTS 1 + #define CCIF #define CLIF @@ -67,7 +69,9 @@ typedef unsigned short uip_stats_t; #define UIP_ARCH_ADD32 1 #define UIP_ARCH_CHKSUM 1 -#define NETSTACK_CONF_RDC_CHANNEL_CHECK_RATE 1 +#define RESOLV_CONF_SUPPORTS_MDNS 0 +#define RESOLV_CONF_SUPPORTS_RECORD_EXPIRATION 0 +#define NETSTACK_CONF_RDC_CHANNEL_CHECK_RATE 1 #define LOADER_CONF_ARCH "lib/unload.h" diff --git a/platform/win32/contiki-conf.h b/platform/win32/contiki-conf.h index cf985fda6..1d483945c 100644 --- a/platform/win32/contiki-conf.h +++ b/platform/win32/contiki-conf.h @@ -5,6 +5,8 @@ #define CC_CONF_FASTCALL __fastcall #define CC_CONF_INLINE __inline +#define ARCH_DOESNT_NEED_ALIGNED_STRUCTS 1 + #if _USRDLL #define CCIF __declspec(dllimport)