From: mquinson Date: Thu, 4 Oct 2007 14:03:48 +0000 (+0000) Subject: Mark data as extern; hopefully it'll help the macOSx linker X-Git-Tag: v3.3~1005 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/2a34a8fbc25f9f0b62c16bf59e797c0ad89d2b63?ds=sidebyside Mark data as extern; hopefully it'll help the macOSx linker git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4786 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/include/xbt/misc.h b/include/xbt/misc.h index cb1ef332cb..44a3b79ba1 100644 --- a/include/xbt/misc.h +++ b/include/xbt/misc.h @@ -149,7 +149,7 @@ # define XBT_PUBLIC(type) extern type # define XBT_EXPORT_NO_IMPORT(type) type # define XBT_IMPORT_NO_EXPORT(type) type -# define XBT_PUBLIC_DATA(type) type +# define XBT_PUBLIC_DATA(type) extern type #endif #if !defined (max) && !defined(__cplusplus)