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
try to avoid a false positive on sonar saying that on_exit() is deprecated
[simgrid.git]
/
src
/
xbt
/
xbt_log_layout_format.c
diff --git
a/src/xbt/xbt_log_layout_format.c
b/src/xbt/xbt_log_layout_format.c
index d0d2bf9859ea357ec5ef1d7765ce2c5c945d732e..b8c3a53035c0b526969e713e92801ee7b4a91c89 100644
(file)
--- a/
src/xbt/xbt_log_layout_format.c
+++ b/
src/xbt/xbt_log_layout_format.c
@@
-1,6
+1,6
@@
/* layout_simple - a dumb log layout */
/* layout_simple - a dumb log layout */
-/* Copyright (c) 2007-201
7
. The SimGrid Team. */
+/* Copyright (c) 2007-201
8
. 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. */
/* 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. */
@@
-11,6
+11,13
@@
#include "xbt/sysdep.h"
#include <stdio.h>
#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 \
extern const char *xbt_log_priority_names[8];
#define ERRMSG \