From: mquinson Date: Tue, 10 Jul 2007 17:29:01 +0000 (+0000) Subject: Comment a windows hack which is out of sync with log layers addition and prevent... X-Git-Tag: v3.3~1649 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/8aade67407e171a3cb545ef0b133a6feee6a9b64?hp=c81b88b7af71898176fabb4177118edfc3a70c22 Comment a windows hack which is out of sync with log layers addition and prevent the lib from compiling. It may happen that this hack is indeed mandatory to *use* the library. In this case, we'il have to update it git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3711 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/include/xbt/log.h b/include/xbt/log.h index a0dc5cd0c8..779703e65a 100644 --- a/include/xbt/log.h +++ b/include/xbt/log.h @@ -125,16 +125,16 @@ typedef enum { * Creates a new subcategory of the root category. */ -#if (defined(_WIN32) && !defined(DLL_STATIC)) -# define XBT_LOG_NEW_CATEGORY(catName,desc) \ +/*#if (defined(_WIN32) && !defined(DLL_STATIC)) KILLME? + # define XBT_LOG_NEW_CATEGORY(catName,desc) \ XBT_EXPORT_NO_IMPORT(s_xbt_log_category_t) _XBT_LOGV(catName) = { \ 0, 0, 0, \ #catName, xbt_log_priority_uninitialized, 1, \ 0, 1 \ } -#else +#else*/ # define XBT_LOG_NEW_CATEGORY(catName,desc) XBT_LOG_NEW_SUBCATEGORY_helper(catName, XBT_LOG_ROOT_CAT, desc) -#endif +//#endif /** * \ingroup XBT_log