A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not initialize mmalloc if !MMALLOC_WANT_OVERRIDE_LEGACY.
[simgrid.git]
/
src
/
xbt
/
xbt_main.c
diff --git
a/src/xbt/xbt_main.c
b/src/xbt/xbt_main.c
index
a6aafc5
..
c0cac04
100644
(file)
--- a/
src/xbt/xbt_main.c
+++ b/
src/xbt/xbt_main.c
@@
-92,7
+92,7
@@
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason,
static void xbt_preinit(void)
{
static void xbt_preinit(void)
{
-#ifdef
HAVE_MMAP
+#ifdef
MMALLOC_WANT_OVERIDE_LEGACY
mmalloc_preinit();
#endif
xbt_log_preinit();
mmalloc_preinit();
#endif
xbt_log_preinit();
@@
-141,7
+141,7
@@
static void xbt_postexit(void)
xbt_os_thread_mod_postexit();
free(xbt_binary_name);
xbt_os_thread_mod_postexit();
free(xbt_binary_name);
-#ifdef
HAVE_MMAP
+#ifdef
MMALLOC_WANT_OVERIDE_LEGACY
mmalloc_postexit();
#endif
}
mmalloc_postexit();
#endif
}