summaryrefslogtreecommitdiff
path: root/time-internal.h
diff options
context:
space:
mode:
authorAzat Khuzhin <a3at.mail@gmail.com>2017-03-12 20:50:35 +0300
committerAzat Khuzhin <a3at.mail@gmail.com>2017-03-13 12:57:22 +0300
commit9081b66c9c1446b11c0052bade799fafb460efed (patch)
tree5a736bdd8a074e93dc79c2faece3e4a67df1c203 /time-internal.h
parent83b1584700ec453e89017b5f12cf338a50b101b4 (diff)
downloadlibevent-9081b66c9c1446b11c0052bade799fafb460efed.tar.gz
Export symbols for -fvisibility=hidden (under cmake)
Fixes: #442
Diffstat (limited to 'time-internal.h')
-rw-r--r--time-internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/time-internal.h b/time-internal.h
index 2c584fa7..e79e6a52 100644
--- a/time-internal.h
+++ b/time-internal.h
@@ -54,6 +54,7 @@ extern "C" {
#endif
long evutil_tv_to_msec_(const struct timeval *tv);
+EVENT2_EXPORT_SYMBOL
void evutil_usleep_(const struct timeval *tv);
#ifdef _WIN32
@@ -86,8 +87,10 @@ struct evutil_monotonic_timer {
struct timeval last_time;
};
+EVENT2_EXPORT_SYMBOL
int evutil_configure_monotonic_time_(struct evutil_monotonic_timer *mt,
int flags);
+EVENT2_EXPORT_SYMBOL
int evutil_gettime_monotonic_(struct evutil_monotonic_timer *mt, struct timeval *tv);