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
Hack to compile smpi on Mac (but need to fix;)
[simgrid.git]
/
src
/
smpi
/
smpi_c99.c
diff --git
a/src/smpi/smpi_c99.c
b/src/smpi/smpi_c99.c
index
2efa529
..
9d65579
100644
(file)
--- 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) {
}
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);
on_exit(&smpi_free_static, arg);
+#endif
}
}