summaryrefslogtreecommitdiffstats
path: root/avahi-qt/qt-watch.h
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd@luon.net>2008-06-22 17:31:08 +0200
committerLennart Poettering <lennart@poettering.net>2008-06-24 00:17:34 +0200
commitd3c75ce883bf5b09321c44bb32522fe089ca1e52 (patch)
treec137c863225324925d79e8e36143991b603e062c /avahi-qt/qt-watch.h
parent7fd720fcb51b7d1e7dd8dc8915f47ffc3f11edad (diff)
Hide everything except for the avahi_qt_poll_get symbol if possible in the qt bindings
Diffstat (limited to 'avahi-qt/qt-watch.h')
-rw-r--r--avahi-qt/qt-watch.h6
1 files changed, 5 insertions, 1 deletions
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