A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
catgories must be exported in any case (so that they can be found in hte DLL); but...
[simgrid.git]
/
include
/
xbt
/
log.h
diff --git
a/include/xbt/log.h
b/include/xbt/log.h
index
4301f3b
..
26efd13
100644
(file)
--- 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) \
* 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_PUBLIC_NO_IMPORT(s_xbt_log_category_t)
_XBT_LOGV(catName) = { \
&_XBT_LOGV(parent), 0, 0, \
#catName, xbt_log_priority_uninitialized, 1, \
0, 1 \
&_XBT_LOGV(parent), 0, 0, \
#catName, xbt_log_priority_uninitialized, 1, \
0, 1 \