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
Don't be paranoid, people won't connect stuff badly, will they?
[simgrid.git]
/
include
/
xbt
/
log.h
diff --git
a/include/xbt/log.h
b/include/xbt/log.h
index
3252e9a
..
5d6c273
100644
(file)
--- a/
include/xbt/log.h
+++ b/
include/xbt/log.h
@@
-113,10
+113,10
@@
typedef enum {
*/
#if defined(__STRICT_ANSI__) || defined(_MSC_VER)
# define _XBT_LOG_PARENT_INITIALIZER(parent) NULL
*/
#if defined(__STRICT_ANSI__) || defined(_MSC_VER)
# define _XBT_LOG_PARENT_INITIALIZER(parent) NULL
-# define XBT_LOG_CONNECT(parent
,child) _XBT_LOGV(child).parent = &_XBT_LOGV(paren
t)
+# define XBT_LOG_CONNECT(parent
_cat,child) _XBT_LOGV(child).parent = &_XBT_LOGV(parent_ca
t)
#else
# define _XBT_LOG_PARENT_INITIALIZER(parent) &_XBT_LOGV(parent)
#else
# define _XBT_LOG_PARENT_INITIALIZER(parent) &_XBT_LOGV(parent)
-# define XBT_LOG_CONNECT(parent
,child) xbt_assert(_XBT_LOGV(child).parent == &_XBT_LOGV(parent))
+# define XBT_LOG_CONNECT(parent
_cat,child) /* xbt_assert(_XBT_LOGV(child).parent == &_XBT_LOGV(parent_cat))*/
#endif
/* XBT_LOG_NEW_SUBCATEGORY_helper:
#endif
/* XBT_LOG_NEW_SUBCATEGORY_helper: