Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
do not define MIN() and MAX() in xbt/base.h to not polute our mpi.h
[simgrid.git] / src / xbt / xbt_log_layout_format.c
index 3e711bb..7aa6071 100644 (file)
@@ -11,6 +11,9 @@
 #include "xbt/sysdep.h"
 #include <stdio.h>
 
+#define MIN(a, b) ((a) < (b) ? (a) : (b))
+#define MAX(a, b) ((a) > (b) ? (a) : (b))
+
 extern const char *xbt_log_priority_names[8];
 
 #define ERRMSG                                                          \