From 94b47d13b6a0225e907acb87794c125e709b2b4f Mon Sep 17 00:00:00 2001 From: cherierm Date: Fri, 21 Sep 2007 15:55:39 +0000 Subject: [PATCH] export data declaration git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4670 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/xbt/log.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/xbt/log.c b/src/xbt/log.c index 70f2c13f88..ca8af458d8 100644 --- a/src/xbt/log.c +++ b/src/xbt/log.c @@ -481,7 +481,12 @@ const char *xbt_log_priority_names[8] = { "CRITICAL" }; -XBT_PUBLIC_DATA(s_xbt_log_category_t) _XBT_LOGV(XBT_LOG_ROOT_CAT) = { +#ifndef _MSC_VER +XBT_PUBLIC_DATA(s_xbt_log_category_t) +#else +s_xbt_log_category_t +#endif +_XBT_LOGV(XBT_LOG_ROOT_CAT) = { 0, 0, 0, "root", xbt_log_priority_uninitialized, 0, NULL, 0 -- 2.20.1