summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-12 22:31:34 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-12 23:08:50 +0900
commit023b3918201379009d853df2abbba3f2f3a488cb (patch)
tree7593506040a4e9c4defe18fd57fcb747faf69e87
parentf1c843a8c8cad74574086940c8fd25cd156d436f (diff)
downloadlibcaldav-r14.1.x.tar.gz
libcaldav-r14.1.x.zip
Rename __KDE_HAVE_GCC_VISIBILITY to __TDE_HAVE_GCC_VISIBILITYr14.1.x
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 0897c58efc9c0f6aad2096be6a19dd42ff5ddf5f)
-rw-r--r--config.h.cmake2
-rw-r--r--src/caldav.h2
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 <time.h>
-#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)