From: mquinson Date: Wed, 12 Dec 2007 20:12:25 +0000 (+0000) Subject: Change the trick to build log category names: this does not only appear when it's... X-Git-Tag: v3.3~728 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/2f99888ac48c81401dae9d1140742c256183153f Change the trick to build log category names: this does not only appear when it's missing, but also when it's defined twice (and it looks ridiculous to have it named does_not_exists then) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5120 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/include/xbt/log.h b/include/xbt/log.h index 0d5cc244f3..9c97059e08 100644 --- a/include/xbt/log.h +++ b/include/xbt/log.h @@ -87,7 +87,7 @@ typedef enum { #endif /* !defined(NLOG) */ /* Transforms a category name to a global variable name. */ -#define _XBT_LOGV(cat) _XBT_LOG_CONCAT(_simgrid_this_log_category_does_not_exist__, cat) +#define _XBT_LOGV(cat) _XBT_LOG_CONCAT(_simgrid_log_category__, cat) #define _XBT_LOG_CONCAT(x,y) x ## y /* The root of the category hierarchy. */