From d3c75ce883bf5b09321c44bb32522fe089ca1e52 Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Sun, 22 Jun 2008 17:31:08 +0200 Subject: Hide everything except for the avahi_qt_poll_get symbol if possible in the qt bindings --- avahi-qt/qt-watch.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'avahi-qt/qt-watch.h') diff --git a/avahi-qt/qt-watch.h b/avahi-qt/qt-watch.h index 0a3476d..a702a76 100644 --- a/avahi-qt/qt-watch.h +++ b/avahi-qt/qt-watch.h @@ -29,7 +29,11 @@ AVAHI_C_DECL_BEGIN /** Setup abstract poll structure for integration with Qt main loop */ -const AvahiPoll* avahi_qt_poll_get(void); +const AvahiPoll* avahi_qt_poll_get(void) +#ifdef HAVE_VISIBILITY_HIDDEN +__attribute__ ((visibility("default"))) +#endif +; AVAHI_C_DECL_END -- cgit