summaryrefslogtreecommitdiff
path: root/log.c
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.c
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.c')
-rw-r--r--log.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/log.c b/log.c
index 0bbee620..ed955575 100644
--- a/log.c
+++ b/log.c
@@ -69,6 +69,7 @@ static event_fatal_cb fatal_fn = NULL;
#define DEFAULT_MASK 0
#endif
+EVENT2_EXPORT_SYMBOL
ev_uint32_t event_debug_logging_mask_ = DEFAULT_MASK;
#endif /* EVENT_DEBUG_LOGGING_ENABLED */