diff --git a/CMakeLists.txt b/CMakeLists.txt index f707937..9e595b2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -71,7 +71,7 @@ message( STATUS " found ${AVAHI_COMMON}" ) if( WITH_GCC_VISIBILITY ) tde_setup_gcc_visibility( ) - add_definitions( -D__KDE_HAVE_GCC_VISIBILITY ) + add_definitions( -D__TDE_HAVE_GCC_VISIBILITY ) endif( ) diff --git a/avahi-tqt/qt-watch.h b/avahi-tqt/qt-watch.h index 1d26303..7dda67e 100644 --- a/avahi-tqt/qt-watch.h +++ b/avahi-tqt/qt-watch.h @@ -28,7 +28,7 @@ AVAHI_C_DECL_BEGIN /** Setup abstract poll structure for integration with TQt main loop */ const AvahiPoll* avahi_qt_poll_get(void) -#ifdef __KDE_HAVE_GCC_VISIBILITY +#ifdef __TDE_HAVE_GCC_VISIBILITY __attribute__ ((visibility("default"))) #endif ;