/* layout_simple - a dumb log layout */
-/* Copyright (c) 2007-2017. The SimGrid Team. */
+/* Copyright (c) 2007-2018. The SimGrid Team. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "xbt/sysdep.h"
#include <stdio.h>
+#ifndef MIN
+#define MIN(a, b) ((a) < (b) ? (a) : (b))
+#endif
+#ifndef MAX
+#define MAX(a, b) ((a) > (b) ? (a) : (b))
+#endif
+
extern const char *xbt_log_priority_names[8];
#define ERRMSG \