Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Added an #ifndef/#endif around the #define MIN so that things
[simgrid.git] / src / gras / Msg / msg.c
index 3354c00..1ac3636 100644 (file)
@@ -13,7 +13,9 @@
 #include "gras/DataDesc/datadesc_interface.h"
 #include "gras/Transport/transport_interface.h" /* gras_select */
 
+#ifndef MIN
 #define MIN(a,b) ((a) < (b) ? (a) : (b))
+#endif
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(gras_msg,gras,"High level messaging");