summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
e01bb6d)
This fixes the tests tesh-self-* that were broken with NDEBUG.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9879
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
void xbt_log_layout_set(xbt_log_category_t cat, xbt_log_layout_t lay)
{
void xbt_log_layout_set(xbt_log_category_t cat, xbt_log_layout_t lay)
{
+#define _xbt_log_cat_init(a, b) (0)
if (!cat->appender) {
XBT_VERB
("No appender to category %s. Setting the file appender as default",
if (!cat->appender) {
XBT_VERB
("No appender to category %s. Setting the file appender as default",
}
cat->layout = lay;
xbt_log_additivity_set(cat, 0);
}
cat->layout = lay;
xbt_log_additivity_set(cat, 0);
+#undef _xbt_log_cat_init
}
void xbt_log_additivity_set(xbt_log_category_t cat, int additivity)
}
void xbt_log_additivity_set(xbt_log_category_t cat, int additivity)