From: pierre Date: Thu, 7 Jun 2012 13:59:08 +0000 (+0200) Subject: Hack to compile smpi on Mac (but need to fix;) X-Git-Tag: v3_8~646^2~7 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/55be59cf67a26f643bb72a9d92af8b52f75b332c?hp=66b513c92886172d08ed986f21637df870338761 Hack to compile smpi on Mac (but need to fix;) --- diff --git a/src/smpi/smpi_c99.c b/src/smpi/smpi_c99.c index 2efa529505..9d65579b96 100644 --- a/src/smpi/smpi_c99.c +++ b/src/smpi/smpi_c99.c @@ -12,5 +12,13 @@ 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(&smpi_free_static, arg); +#endif }