From cb6ab29237eae830766f2b897e4cc04319cf7ef2 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 12 Jul 2024 22:31:17 +0900 Subject: Rename __KDE_HAVE_GCC_VISIBILITY to __TDE_HAVE_GCC_VISIBILITY Signed-off-by: Michele Calgaro (cherry picked from commit 68f284461f4bd0698f59f5d77f5d1295d72a124c) --- 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 be9669c..6816cd0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -75,7 +75,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 ; -- cgit v1.2.1