Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Allow SMPI to run on old unixes (even on darwin).
[simgrid.git] / include / smpi / smpi.h
index b12a551..830e6c5 100644 (file)
@@ -13,7 +13,7 @@
 #include <xbt/function_types.h>
 
 #define MPI_CALL(type,name,args) \
-  type name args; \
+  type name args __attribute__((weak)); \
   type P##name args
 
 SG_BEGIN_DECL()