Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Mark data as extern; hopefully it'll help the macOSx linker
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 4 Oct 2007 14:03:48 +0000 (14:03 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 4 Oct 2007 14:03:48 +0000 (14:03 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4786 48e7efb5-ca39-0410-a469-dd3cf9ba447f

include/xbt/misc.h

index cb1ef33..44a3b79 100644 (file)
 #  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)