From 155b37491c222ec9a17c5e30c6220aff5368b7de Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Wed, 16 Aug 2006 22:47:01 +0000 Subject: [PATCH] Some object files made from *_dsc.c files get linked both into the Contiki core (for desktop icons) as well as into *.dsc files. So make sure that the *_dsc symbol gets exported regardless in which context the object files are made. --- platform/win32/contiki-conf.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/platform/win32/contiki-conf.h b/platform/win32/contiki-conf.h index 2cae9c7ee..612e0fc2b 100644 --- a/platform/win32/contiki-conf.h +++ b/platform/win32/contiki-conf.h @@ -8,11 +8,10 @@ #if _USRDLL #define CCIF __declspec(dllimport) -#define CLIF __declspec(dllexport) #else #define CCIF __declspec(dllexport) -#define CLIF #endif +#define CLIF __declspec(dllexport)