X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d23a5940a60ad4dcf27b09c31cb284f9cd9b2f9d..6af348b861fc72e45173e89c5f9540cefb6ee252:/include/xbt/log.h diff --git a/include/xbt/log.h b/include/xbt/log.h index 5c4c61a7e2..0182bd538a 100644 --- a/include/xbt/log.h +++ b/include/xbt/log.h @@ -310,7 +310,7 @@ XBT_PUBLIC void _xbt_log_event_log(xbt_log_event_t ev, const char* fmt, ...) XBT XBT_PUBLIC int _xbt_log_cat_init(xbt_log_category_t category, e_xbt_log_priority_t priority); #ifdef DLL_EXPORT -XBT_PUBLIC_DATA(s_xbt_log_category_t) _XBT_LOGV(XBT_LOG_ROOT_CAT); +XBT_PUBLIC_DATA s_xbt_log_category_t _XBT_LOGV(XBT_LOG_ROOT_CAT); #else // If we `dllexport` the root log category, MinGW does not want us to take its address with the error: // > initializer element is not constant