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 1890645..c13411c 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. */