summaryrefslogtreecommitdiff
path: root/log-internal.h
diff options
context:
space:
mode:
authorAzat Khuzhin <a3at.mail@gmail.com>2017-03-14 00:33:26 +0300
committerAzat Khuzhin <a3at.mail@gmail.com>2017-03-14 12:55:40 +0300
commit92cf234b0c2eb41fbbac38b173723a4a58d3621b (patch)
tree70e5cf43fd2902c85cdd5924db0a8f3765b15e62 /log-internal.h
parenta9c2116facb523d318bd029358ca9090e77cfe23 (diff)
downloadlibevent-92cf234b0c2eb41fbbac38b173723a4a58d3621b.tar.gz
log/win32: fix exporting extern variable
==> win: C:\vagrant\log.c(73): error C2370: 'event_debug_logging_mask_' : redefinition; different storage class [C:\vagrant\.cmake-vagrant\event_core_shared.vcxproj]
Diffstat (limited to 'log-internal.h')
-rw-r--r--log-internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/log-internal.h b/log-internal.h
index 4c927afc..b9d19f13 100644
--- a/log-internal.h
+++ b/log-internal.h
@@ -48,8 +48,8 @@ extern "C" {
#endif
#ifdef EVENT_DEBUG_LOGGING_ENABLED
-EVENT2_EXPORT_SYMBOL
-extern ev_uint32_t event_debug_logging_mask_;
+EVENT2_EXPORT_SYMBOL_DECL
+ev_uint32_t event_debug_logging_mask_;
#define event_debug_get_logging_mask_() (event_debug_logging_mask_)
#else
#define event_debug_get_logging_mask_() (0)