From 5c80d460aa6de6fc6b03496b29a3acbc23d333f4 Mon Sep 17 00:00:00 2001 From: cherierm Date: Thu, 8 Feb 2007 15:43:15 +0000 Subject: [PATCH] catgories must be exported in any case (so that they can be found in hte DLL); but not imported because the users are free to create new ones, which cannot be found in the DLL, obviuosly git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3118 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- include/xbt/log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/xbt/log.h b/include/xbt/log.h index 4191944527..26efd1358b 100644 --- a/include/xbt/log.h +++ b/include/xbt/log.h @@ -98,7 +98,7 @@ typedef enum { * to avoid an extra declaration of root when XBT_LOG_NEW_SUBCATEGORY is called by * XBT_LOG_NEW_CATEGORY */ #define XBT_LOG_NEW_SUBCATEGORY_helper(catName, parent, desc) \ - XBT_PUBLIC(s_xbt_log_category_t) _XBT_LOGV(catName) = { \ + XBT_PUBLIC_NO_IMPORT(s_xbt_log_category_t) _XBT_LOGV(catName) = { \ &_XBT_LOGV(parent), 0, 0, \ #catName, xbt_log_priority_uninitialized, 1, \ 0, 1 \ -- 2.20.1