From 8aade67407e171a3cb545ef0b133a6feee6a9b64 Mon Sep 17 00:00:00 2001 From: mquinson Date: Tue, 10 Jul 2007 17:29:01 +0000 Subject: [PATCH 1/1] 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 --- include/xbt/log.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.20.1