diff options
author | Azat Khuzhin <a3at.mail@gmail.com> | 2017-05-29 15:04:50 +0300 |
---|---|---|
committer | Azat Khuzhin <a3at.mail@gmail.com> | 2017-05-29 22:01:33 +0300 |
commit | ce3af533f1b11c4b302d404483f28660eb5d7190 (patch) | |
tree | c44ab73e1addffdd249645da09ae6dd65fa0135a /log-internal.h | |
parent | 2773a5ed5e75540d43500e054581ea1fab2132ac (diff) | |
download | libevent-ce3af533f1b11c4b302d404483f28660eb5d7190.tar.gz |
Fix visibility issues under (mostly on win32)
Refs: #511
Fixes: 7182c2f561570cd9ceb704623ebe9ae3608c7b43 ("cmake: build SHARED and
STATIC libraries (like autoconf does)")
Diffstat (limited to 'log-internal.h')
-rw-r--r-- | log-internal.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/log-internal.h b/log-internal.h index b9d19f13..fb53df41 100644 --- a/log-internal.h +++ b/log-internal.h @@ -48,8 +48,7 @@ extern "C" { #endif #ifdef EVENT_DEBUG_LOGGING_ENABLED -EVENT2_EXPORT_SYMBOL_DECL -ev_uint32_t event_debug_logging_mask_; +EVENT2_EXPORT_SYMBOL extern 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) |