From 023b3918201379009d853df2abbba3f2f3a488cb Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 12 Jul 2024 22:31:34 +0900 Subject: [PATCH] Rename __KDE_HAVE_GCC_VISIBILITY to __TDE_HAVE_GCC_VISIBILITY Signed-off-by: Michele Calgaro (cherry picked from commit 0897c58efc9c0f6aad2096be6a19dd42ff5ddf5f) --- config.h.cmake | 2 +- src/caldav.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.h.cmake b/config.h.cmake index 61ede3a..4064b66 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -1,7 +1,7 @@ #define VERSION "@VERSION@" // Defined if you have fvisibility and fvisibility-inlines-hidden support. -#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1 +#cmakedefine __TDE_HAVE_GCC_VISIBILITY 1 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). */ diff --git a/src/caldav.h b/src/caldav.h index e6a4a26..305cf0b 100644 --- a/src/caldav.h +++ b/src/caldav.h @@ -44,7 +44,7 @@ #include -#if defined(__KDE_HAVE_GCC_VISIBILITY) || defined(G_HAVE_GCC_VISIBILITY) +#if defined(__TDE_HAVE_GCC_VISIBILITY) || defined(G_HAVE_GCC_VISIBILITY) #define CALDAV_NO_EXPORT __attribute__ ((visibility("hidden"))) #define CALDAV_EXPORT __attribute__ ((visibility("default"))) #elif defined(_WIN32)