summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-12 22:31:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-12 23:21:57 +0900
commita3d434aee6a3a2d88407d294bd37d5aa3b70cf21 (patch)
treebd7cb56fd465d625fbd25d5087a815bd2b0046c3
parent7b7f2ab5c22155df4fc0f32bd98dd0e0c8be44e0 (diff)
downloadlibcarddav-r14.1.x.tar.gz
libcarddav-r14.1.x.zip
Rename __KDE_HAVE_GCC_VISIBILITY to __TDE_HAVE_GCC_VISIBILITYr14.1.3r14.1.x
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit e99269b41233a17a26ec0603d034e43f1744d461)
-rw-r--r--config.h.cmake2
-rw-r--r--src/carddav.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/carddav.h b/src/carddav.h
index 59a05fa..e7c0298 100644
--- a/src/carddav.h
+++ b/src/carddav.h
@@ -45,7 +45,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 CARDDAV_NO_EXPORT __attribute__ ((visibility("hidden")))
#define CARDDAV_EXPORT __attribute__ ((visibility("default")))
#elif defined(_WIN32)