Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Same thing. But working, this time.
authordegomme <augustin.degomme@unibas.ch>
Wed, 6 Apr 2016 21:54:32 +0000 (23:54 +0200)
committerdegomme <augustin.degomme@unibas.ch>
Wed, 6 Apr 2016 21:54:32 +0000 (23:54 +0200)
src/xbt/config.c

index 189064595512b58eb7f63e2d8505b677554bbc1b..c13411c732f8ffd4839a25e57db8cb96f66d1326 100644 (file)
@@ -21,7 +21,7 @@
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(xbt_cfg, xbt, "configuration support");
 
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(xbt_cfg, xbt, "configuration support");
 
-xbt_cfg_t simgrid_config = NULL;
+XBT_EXPORT_NO_IMPORT(xbt_cfg_t) simgrid_config = NULL;
 static void xbt_cfg_register(xbt_cfg_t * cfg, const char *name, const char *desc, e_xbt_cfgelm_type_t type, xbt_cfg_cb_t cb_set);
 
 /* xbt_cfgelm_t: the typedef corresponding to a config variable. */
 static void xbt_cfg_register(xbt_cfg_t * cfg, const char *name, const char *desc, e_xbt_cfgelm_type_t type, xbt_cfg_cb_t cb_set);
 
 /* xbt_cfgelm_t: the typedef corresponding to a config variable. */