summaryrefslogtreecommitdiff
path: root/log-internal.h
diff options
context:
space:
mode:
authorAzat Khuzhin <a3at.mail@gmail.com>2017-03-13 22:33:38 +0300
committerAzat Khuzhin <a3at.mail@gmail.com>2017-03-14 08:47:18 +0300
commit49dcf4d554bcec89814a26d620c0f37603dc35cd (patch)
tree9aa873d5c0a3e66e4e28aafec46f408baa4f0379 /log-internal.h
parent48ead58e7794505508bf7f9e94b59f959195fe72 (diff)
downloadlibevent-49dcf4d554bcec89814a26d620c0f37603dc35cd.tar.gz
log: remove USE_GLOBAL_FOR_DEBUG_LOGGING
Fixes: 9081b66c9c1446b11c0052bade799fafb460efed ("Export symbols for -fvisibility=hidden (under cmake)")
Diffstat (limited to 'log-internal.h')
-rw-r--r--log-internal.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/log-internal.h b/log-internal.h
index e92fa88d..97d510fc 100644
--- a/log-internal.h
+++ b/log-internal.h
@@ -39,21 +39,15 @@
#define EVENT_ERR_ABORT_ ((int)0xdeaddead)
-#define USE_GLOBAL_FOR_DEBUG_LOGGING
-
#if !defined(EVENT__DISABLE_DEBUG_MODE) || defined(USE_DEBUG)
#define EVENT_DEBUG_LOGGING_ENABLED
#endif
#ifdef EVENT_DEBUG_LOGGING_ENABLED
-#ifdef USE_GLOBAL_FOR_DEBUG_LOGGING
EVENT2_EXPORT_SYMBOL
extern ev_uint32_t event_debug_logging_mask_;
#define event_debug_get_logging_mask_() (event_debug_logging_mask_)
#else
-ev_uint32_t event_debug_get_logging_mask_(void);
-#endif
-#else
#define event_debug_get_logging_mask_() (0)
#endif