#pragma fini (xbt_postexit)
#endif
-#ifdef WIN32
+#ifdef _XBT_WIN32
#include <windows.h>
/* Dummy prototype to make gcc happy */
#endif
static void xbt_preinit(void) {
+ #ifdef HAVE_MMAP
+ mmalloc_preinit();
+ #endif
xbt_log_preinit();
/* Connect our log channels: that must be done manually under windows */
XBT_LOG_CONNECT(xbt_sync_os, xbt);
xbt_fifo_preinit();
+ xbt_dict_preinit();
xbt_backtrace_preinit();
xbt_os_thread_mod_preinit();
xbt_log_postexit();
free(xbt_binary_name);
+#ifdef HAVE_MMAP
+ mmalloc_postexit();
+#endif
}
/** @brief Initialize the xbt mechanisms. */