From 35b683a741ce46cb59ef380b2e3fffd567bec5ec Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 19 Jul 2024 11:50:24 +0900 Subject: Use __TDE_HAVE_GCC_VISIBILITY Signed-off-by: Michele Calgaro --- config.h.cmake | 2 +- zlibrary/core/include/core_export.h.cmake | 4 ++-- zlibrary/text/include/text_export.h.cmake | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config.h.cmake b/config.h.cmake index 2fce79f..1a76fff 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -1,7 +1,7 @@ #define VERSION "@PACKAGE_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/zlibrary/core/include/core_export.h.cmake b/zlibrary/core/include/core_export.h.cmake index 95b1efb..2606b50 100644 --- a/zlibrary/core/include/core_export.h.cmake +++ b/zlibrary/core/include/core_export.h.cmake @@ -2,9 +2,9 @@ #define _CORE_EXPORT_H_ // Set by configure -#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1 +#cmakedefine __TDE_HAVE_GCC_VISIBILITY 1 -#ifdef __KDE_HAVE_GCC_VISIBILITY +#ifdef __TDE_HAVE_GCC_VISIBILITY #define ZLCORE_EXPORT __attribute__ ((visibility("default"))) #else #define ZLCORE_EXPORT diff --git a/zlibrary/text/include/text_export.h.cmake b/zlibrary/text/include/text_export.h.cmake index fdca8ee..4363dd7 100644 --- a/zlibrary/text/include/text_export.h.cmake +++ b/zlibrary/text/include/text_export.h.cmake @@ -2,9 +2,9 @@ #define _TEXT_EXPORT_H_ // Set by configure -#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1 +#cmakedefine __TDE_HAVE_GCC_VISIBILITY 1 -#ifdef __KDE_HAVE_GCC_VISIBILITY +#ifdef __TDE_HAVE_GCC_VISIBILITY #define ZLTEXT_EXPORT __attribute__ ((visibility("default"))) #else #define ZLTEXT_EXPORT -- cgit v1.2.1