Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
catgories must be exported in any case (so that they can be found in hte DLL); but...
authorcherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 8 Feb 2007 15:43:15 +0000 (15:43 +0000)
committercherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 8 Feb 2007 15:43:15 +0000 (15:43 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3118 48e7efb5-ca39-0410-a469-dd3cf9ba447f

include/xbt/log.h

index 4191944..26efd13 100644 (file)
@@ -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                                          \