X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e50e29d976f19e5a7f581d2bac01c44986092f07..be7aebfeb78fec388f583585aa207a6fe85df69a:/include/xbt/sysdep.h?ds=sidebyside diff --git a/include/xbt/sysdep.h b/include/xbt/sysdep.h index db811b1b05..bffd706ffb 100644 --- a/include/xbt/sysdep.h +++ b/include/xbt/sysdep.h @@ -54,7 +54,11 @@ XBT_PUBLIC(void) xbt_abort(void) _XBT_GNUC_NORETURN; } while (0) /** @} */ +#ifdef XBT_LOG_LOCALLY_DEFINE_XBT_CHANNEL +XBT_LOG_NEW_CATEGORY(xbt, "All XBT categories (simgrid toolbox)"); +#else XBT_LOG_EXTERNAL_CATEGORY(xbt); +#endif /* these ones live in str.h, but redeclare them here so that we do not need to load the whole str.h and its heavy dependencies */