From: mquinson Date: Tue, 29 Aug 2006 23:59:22 +0000 (+0000) Subject: Export the log channels when building DLLs X-Git-Tag: v3.3~2587 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/3fdcdbf09f8dadfc9a19c9ec1a32786c14c99fb5?hp=d7515d47fd9d644de5a2366aa214c05ace3c89c2;ds=inline Export the log channels when building DLLs git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2772 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/include/xbt/log.h b/include/xbt/log.h index bbfb46ef04..4867d0763b 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) \ - s_xbt_log_category_t _XBT_LOGV(catName) = { \ + XBT_EXPORT s_xbt_log_category_t _XBT_LOGV(catName) = { \ &_XBT_LOGV(parent), 0, 0, \ #catName, xbt_log_priority_uninitialized, 1, \ 0, 1 \