From 451bff5e53c2f78bd6e7475bbdd657b32f269a1b Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 12 Jul 2024 22:11:51 +0900 Subject: [PATCH] Rename __KDE_HAVE_GCC_VISIBILITY to __TDE_HAVE_GCC_VISIBILITY Signed-off-by: Michele Calgaro --- config.h.cmake | 2 +- kmymoney2/export.h | 2 +- libkdchart/kdchart_export.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.h.cmake b/config.h.cmake index ae02630..fbaf7c6 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -2,7 +2,7 @@ #define VERSION "@APP_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/kmymoney2/export.h b/kmymoney2/export.h index 4fbaf64..8945eef 100644 --- a/kmymoney2/export.h +++ b/kmymoney2/export.h @@ -24,7 +24,7 @@ #include #if KDE_IS_VERSION(3,2,90) - #ifdef __KDE_HAVE_GCC_VISIBILITY + #ifdef __TDE_HAVE_GCC_VISIBILITY #include #define KMYMONEY_EXPORT TDE_EXPORT #else diff --git a/libkdchart/kdchart_export.h b/libkdchart/kdchart_export.h index 40b72c2..94f2d34 100644 --- a/libkdchart/kdchart_export.h +++ b/libkdchart/kdchart_export.h @@ -1,7 +1,7 @@ #ifndef KDCHART_EXPORT_H #define KDCHART_EXPORT_H -#if defined(__KDE_HAVE_GCC_VISIBILITY) || defined(G_HAVE_GCC_VISIBILITY) +#if defined(__TDE_HAVE_GCC_VISIBILITY) || defined(G_HAVE_GCC_VISIBILITY) #define KDCHART_NO_EXPORT __attribute__ ((visibility("hidden"))) #define KDCHART_EXPORT __attribute__ ((visibility("default"))) #elif defined(_WIN32)