X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/26ac669d68abd5ccb430266a6a57d1d2201827cf..14608bd75984c1dc3e279f67ccce7a3accb7650a:/src/xbt/mallocator.c diff --git a/src/xbt/mallocator.c b/src/xbt/mallocator.c index e4abe0de7f..d3a7236e01 100644 --- a/src/xbt/mallocator.c +++ b/src/xbt/mallocator.c @@ -54,10 +54,10 @@ void xbt_mallocator_initialization_is_done(void) { /** used by the module to know if it's time to activate the mallocators yet */ static XBT_INLINE int xbt_mallocator_is_active(void) { -#ifndef MALLOCATOR_COMPILED_IN - return 0; -#else +#if MALLOCATOR_COMPILED_IN return initialization_done && !MC_is_active(); +#else + return 0; #endif }