X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4935a0feba1e1b59a40344dbe60fe0a985bec9c2..3a3bf65fe403e30d7d21b88ceb4fc11d39af5713:/src/smpi/smpi_c99.c diff --git a/src/smpi/smpi_c99.c b/src/smpi/smpi_c99.c index 306478338a..df84a2e3b9 100644 --- a/src/smpi/smpi_c99.c +++ b/src/smpi/smpi_c99.c @@ -12,13 +12,10 @@ static void smpi_free_static(int status, void* arg) { } void smpi_register_static(void* arg) { - #ifndef __APPLE__ -// FIXME -// On Apple this error occurs: -// Undefined symbols for architecture x86_64: -// "_on_exit", referenced from: -// _smpi_register_static in smpi_c99.c.o + // on_exit is not implemented on Apple. + // That's fine, the memory won't be released on UNIX process terminaison. + // This means that valgrind will report it as leaked (but who cares?) on_exit(&smpi_free_static, arg); #endif }