From 68f284461f4bd0698f59f5d77f5d1295d72a124c Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 12 Jul 2024 22:31:17 +0900 Subject: [PATCH] Rename __KDE_HAVE_GCC_VISIBILITY to __TDE_HAVE_GCC_VISIBILITY Signed-off-by: Michele Calgaro --- CMakeLists.txt | 2 +- avahi-tqt/qt-watch.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 ;