From 58d047667d25af2e3f0d6056420488ecff5fbc10 Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Thu, 7 Feb 2008 15:47:28 +0000 Subject: [PATCH] Declare 'autostart_processes' as CLIF (Contiki Loadable Interface) to trigger exporting the symbol from shared libraries on Win32. --- core/sys/autostart.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/sys/autostart.h b/core/sys/autostart.h index ae8c57a3f..5525268de 100644 --- a/core/sys/autostart.h +++ b/core/sys/autostart.h @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: autostart.h,v 1.3 2007/11/18 12:27:45 ksb Exp $ + * $Id: autostart.h,v 1.4 2008/02/07 15:47:28 oliverschmidt Exp $ */ /** @@ -46,7 +46,7 @@ #if ! CC_NO_VA_ARGS #if AUTOSTART_ENABLE #define AUTOSTART_PROCESSES(...) \ -struct process * const autostart_processes[] = {__VA_ARGS__, NULL} +CLIF struct process * const autostart_processes[] = {__VA_ARGS__, NULL} #else /* AUTOSTART_ENABLE */ #define AUTOSTART_PROCESSES(...) \ extern int _dummy